I am considering to learn a new programming language. Currently I am considering Python or C++. If I choose Python and let's say I become an expert in it, is there something that C++ can do and Python no? Thank you.
I am considering to learn a new programming language. Currently I am considering Python or C++. If I choose Python and let's say I become an expert in it, is there something that C++ can do and Python no? Thank you.
Programmers usually know more than one language.
Start with Python, learn C++ later.
In general, the differences are:
Code:Python C++ ==================== ==================== Easier to learn Harder to learn Interpreted Compiled Garbage collection No GC Dynamic typing Static typing Slower Faster
A little inaccuracy saves tons of explanation. - H.H. Munro
I also would recommend starting with Python since it's much easier to learn.
> I am considering to learn a new programming language.
Does this suggest you already know a programming language?
> If I choose Python and let's say I become an expert in it, is there something that C++ can do and Python no?
Since Python has a mechanism for calling C and C++, there is always a way out.
If you dance barefoot on the broken glass of undefined behaviour, you've got to expect the occasional cut.
If at first you don't succeed, try writing your phone number on the exam paper.