I learned C++ as my first language and it was a great way to understand the core issues of a programming language — like memory allocation, memory freeing, and the difference between memory addresses and the memory contents themselves. Java obscures these nuances to a degree, but Python is too friendly and makes it hard to understand them.
I believe if you learn C++ you can easily learn any other language. After C++, I learned Python, JavaScript, and Java in a few days each without formal instruction. If you learn Python first, you’re probably going to struggle learning those other languages because you haven’t grasped the lower level concepts yet and may never if you’re not in a formal setting that forced you to learn them.
No one disagrees that Python is easier, but if your goal is to get a foundation in programming that allows you to easily pick up other languages, you should start with C++.
MrRazamataz@lemmy.razbot.xyz 10 months ago
In a first year computer science course at uni I can say they teach us Python, Java, and C, all with slightly different use cases.