Should I Learn C++ for Game Development or Keep Focusing on JavaScript?
Asked by
soda_fountain
I'm 16 and about to start my junior year of high school. I've been learning JavaScript and React and have built a few small projects, but I've recently started losing motivation. I'm also becoming interested in game development as a possible career, which has made me curious about learning C++.
I'm unsure whether switching languages would be a mistake. I've heard it's better to focus on one language until you become highly skilled, since constantly changing languages can prevent you from making real progress. On the other hand, C++ sounds enjoyable to learn and seems relevant to the kind of game development I'd like to explore.
If I start learning C++, should I use a short beginner course and quickly begin making projects, or follow a more detailed resource such as LearnCpp.com? I'd appreciate advice on choosing a direction without getting stuck endlessly switching technologies.
Answers
If your goal is to explore game development, an engine such as Unreal can give you a practical reason to learn C++. Just keep in mind that engine programming and general C++ fundamentals are not exactly the same thing. A good approach is to learn the language basicsโfunctions, classes, memory, references, containers, and debuggingโthen make small projects instead of only watching tutorials.
Reply to this answer
Trying game development is worthwhile, but donโt choose a career path based only on the language. The game industry can be difficult and competitive, so focus on building things you can show: small playable games, tools, or prototypes. At your age, experimenting with both JavaScript and C++ is completely reasonable, especially if each one is connected to an actual project.
Reply to this answer
Use the tool that helps you make something interesting. You donโt need to treat programming languages like permanent commitments. Keep your JavaScript skills developing if you enjoy web projects, and explore C++ when you want to learn game programming. For a lightweight learning route, C++ with raylib can be useful because it lets you build simple games while handling more of the underlying work yourself.
Reply to this answer
Youโre definitely not too youngโor too oldโto start C++. Since youโve already built projects independently with JavaScript, learning another language shouldnโt automatically derail you. The bigger problem is when beginners switch languages every time something becomes difficult, but that doesnโt sound like what youโre doing. LearnCpp.com is a solid structured tutorial, and you can start small projects alongside it rather than waiting until you finish the entire course.
Reply to this answer
Add your answer
Answers are reviewed before publication.
Related Discussions