| | |
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 ansi anti apache approximation array assignment avogadro backend beginner binary bluetooth book builtin calculator character cmd converter countpasswordentry curved customdialog dan08 decimals dictionaries dictionary dynamic error exe file float format function gnu graphics heads homework http ideas import inches input java leftmouse library line lines linux list lists loop module mouse mysqlquery number numbers numeric output parsing path phonebook plugin pointer prime programming progressbar py2exe pygame python random recursion redirect scrolledtext software sqlite statictext statistics string strings sum table terminal text textarea thread threading time tlapse trick tuple tutorial twoup ubuntu unicode urllib urllib2 variable wordgame write wxpython xlib






