Is Python better than C++

Thread Solved
Reply

Join Date: Aug 2005
Posts: 1,514
Reputation: Ene Uran has a spectacular aura about Ene Uran has a spectacular aura about 
Solved Threads: 168
Ene Uran's Avatar
Ene Uran Ene Uran is offline Offline
Posting Virtuoso

Is Python better than C++

 
0
  #1
Sep 15th, 2005
Couldn't sleep last night, so I was browsing and found the "Starting Python" thingy. I must say Python looks interesting from the examples. I learned C++ in school, Python sure looks easier to understand. Does any one think it's better than C++?
Reply With Quote Quick reply to this message  
Join Date: Oct 2004
Posts: 3,858
Reputation: vegaseat is just really nice vegaseat is just really nice vegaseat is just really nice vegaseat is just really nice vegaseat is just really nice 
Solved Threads: 867
Moderator
vegaseat's Avatar
vegaseat vegaseat is offline Offline
DaniWeb's Hypocrite

Re: Is Python better than C++

 
0
  #2
Sep 15th, 2005
I am using C++ and Python, the two languages complement each other well. To develop an idea, Python will get you there faster. The code is easier on the eyes and more intelligible.

Of course, Python is an interpreted language, so it will be inherently slower in execution than C++. Speed of execution however is not always the most important thing. Time is money, and speed of program development could be more important, in this case Python might be the winner.

If you want a relatively small executable file, then you have to translate to C++ and compile and link. I have done it a few times, and it's not too time consuming. Maybe I should create some tools to make it easier. I would write those in Python.

For a beginner I would recommend Python. It gets you used to object oriented programming and sometimes can be downright fun. When you switch to C++ later, many concepts will be rather familiar to you, and you won't mind the regimentation so much.
May 'the Google' be with you!
Reply With Quote Quick reply to this message  
Join Date: Jul 2005
Posts: 1,205
Reputation: bumsfeld will become famous soon enough bumsfeld will become famous soon enough 
Solved Threads: 130
bumsfeld's Avatar
bumsfeld bumsfeld is offline Offline
Nearly a Posting Virtuoso

Re: Is Python better than C++

 
0
  #3
Sep 17th, 2005
I don't think Python is better than C++, but you can do thinks at a higher level with it.
Reply With Quote Quick reply to this message  
Join Date: Aug 2005
Posts: 148
Reputation: Micko is on a distinguished road 
Solved Threads: 6
Micko Micko is offline Offline
Junior Poster

Re: Is Python better than C++

 
0
  #4
Sep 17th, 2005
Originally Posted by bumsfeld
I don't think Python is better than C++, but you can do thinks at a higher level with it.
And, of course, with less frustrations and headache
Reply With Quote Quick reply to this message  
Join Date: Oct 2004
Posts: 3,858
Reputation: vegaseat is just really nice vegaseat is just really nice vegaseat is just really nice vegaseat is just really nice vegaseat is just really nice 
Solved Threads: 867
Moderator
vegaseat's Avatar
vegaseat vegaseat is offline Offline
DaniWeb's Hypocrite

Re: Is Python better than C++

 
0
  #5
Sep 18th, 2005
One thing I always hated in C++ was Mister Bloat, the awful omnipresent header file:
#include <iostream>
That turned a simple Hello World console program into a 415kb executable monster.
May 'the Google' be with you!
Reply With Quote Quick reply to this message  
Reply

This thread has been marked solved.
Perhaps start a new thread instead?
Message:


Thread Tools Search this Thread



About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC