I've been accepted into the fourth year of a computer science program at a high school in Italy. Before this, I studied graphic design, and I currently know the fundamentals of Java. Our classes will start Java from the beginning, followed by JavaScript and SQL databases next year. Since I'll already be learning Java in school, I'm considering studying a different language at home to broaden my skills. Would Python or C++ be the better choice? I've heard that C++ can lead to well-paid systems and trading roles, while Python is widely used for automation, data science, and machine learning. I know learning one language doesn't prevent me from learning another later, but I'd like to build useful skills and gain an advantage over my classmates. What would experienced developers recommend for someone at my level?
3 Answers
Try not to optimize too much for popularity or a specific job market while you’re still learning the fundamentals. Focus on programming concepts, data structures, debugging, version control, and completing projects. Python is a great way to practice those skills quickly, while C++ is useful if you specifically want to explore systems and performance. Neither decision locks you in, so choose the one that keeps you interested and start building things.
C++ is a valid choice if you’re interested in low-level programming, game engines, embedded systems, or highly performance-sensitive software. It has a steeper learning curve and more complicated tooling, but it can give you a deeper understanding of programming than Python alone. It can also make languages such as C and Rust easier to approach later. Just don’t choose it only because you’ve heard it pays more—your projects and problem-solving ability will matter more than the language itself.
You may be overthinking the choice a little. Since Java is already part of your coursework, learning something different at home is reasonable. Python lets beginners build useful projects quickly and is especially approachable if you’re coming from a design background. C++ takes longer to become comfortable with, but it teaches much more about memory, performance, and how computers work internally. For a short-term advantage, I’d start with Python, build several small projects, and move to C++ once you’re coding consistently.

Related Questions
How To: Running Codex CLI on Windows with Azure OpenAI
Set Wordpress Featured Image Using Javascript
How To Fix PHP Random Being The Same
Why no WebP Support with Wordpress
Replace Wordpress Cron With Linux Cron
Customize Yoast Canonical URL Programmatically