| | |
Is Python better than C++
Thread Solved
![]() |
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.
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!
![]() |
Similar Threads
- How to do Input in Python? (Python)
- What are the .apy files in Python (Python)
- Python! Thoughts? (Python)
- what is python (Python)
- design customized mysql frontend with perl or python (MySQL)
Other Threads in the Python Forum
- Previous Thread: Python's Debugger
- Next Thread: what does an IDE really do?
| Thread Tools | Search this Thread |
abrupt accessdenied ansi anti apache application approximation argv array assignment backend beginner binary bluetooth builtin calculator change character converter countpasswordentry curved customdialog dan08 dictionary edit exe file float format function gnu heads homework ideas inches input java keyboard lapse leftmouse library line lines linux list lists loop microphone mouse movingimageswithpygame mysqlquery newb number numbers numeric output parameters parsing path phonebook pointer prime programming py2exe pygame pyopengl python random recursion redirect remote reverse scrolledtext session software sprite sqlite statictext statistics string strings syntax terminal text thread threading time tlapse tuple twoup ubuntu unicode unit urllib urllib2 variable wordgame write wxpython xlib






