Should I learn C++ or Python? C++ has the benefit of being one of the C
languages, which are used darn near everywhere. Objective C is used on the iOS hardware. That’s still a variation of C. Python gets used on a lot of web servers. That’s because it has tons of modules to
handle web hosting and it is free. C++ is called a low level language, but I’ve
heard it is really hard to learn. It is older, with a more complex syntax and
a lot of functions to learn. Newer languages tend to be designed to be streamlined. C++ code is considered more work to write. Then again, after three decades, there is
probably already a code module in a library somewhere for almost anything you want to
do. Python is more amenable to casual scripting.
Or you could use it embedded in a larger application, where it is simpler to use than C++. C++ tends to lead to accidental complexity
because it is so verbose. Then again, you can use it for an embedded hardware platform,
which Python can’t. That’s because C++ is better for controlling
the hardware of a machine like memory allocations, video card functions and CPU usage. Actually,
I think it is designed for that. That is something to be said for a language
where 90% plus say it is easy to shoot yourself in the foot. It is hard because it is literally
down in the weeds. Down in the routers and drivers and machine
piece parts. I don’t know if I can do that. Or you could opt to learn Cython. That’s
a C – Python hybrid. There’s hard, and then there is crazy. If you want to manage web servers, learn Python.
To write everything from drivers to OS to software for servers, learn C++.