I'm a bit stuck figuring out the best programming language for game development. I've been dabbling with JavaScript since middle school and can handle the basics, making some random projects here and there. Recently, I tried to learn Python with Pygame to take things more seriously, but I struggled to grasp the basics and had to step back. Now I'm eager to dive back in, but I'm torn. I hear JavaScript isn't the best choice due to its memory usage and speed issues, but I also have a love-hate relationship with it. I know Python is beginner-friendly, yet I have this ongoing frustration with JavaScript. I've also seen mentions of C++, but it seems quite complex. Any suggestions on what language or framework I should consider for game development? Also, I'm using VSCode on a Mac, and I'm open to any recommendations that might be better suited for Windows or other setups.
3 Answers
If you're comfortable with JavaScript, don't overthink it! Start making games with JS. Performance issues won't be a concern for the kinds of games you’ll be building early on. There are plenty of libraries and engines in JS that can help you like Phaser or ct.js. Just jump in and start creating!
Take it from me, you should focus on the engine first. For something simple, Godot with GDScript or Unity with C# would be your best bet. I think Godot is great for beginners, especially for 2D side-scrollers, and it’s free. Whichever you choose, programming fundamentals will carry over and help you with any language you decide on later!
Really, the game type you're making should guide your choice! For a 2D side-scroller, Godot is a fantastic option. It uses GDScript, which is quite similar to Python and should be easy to pick up after JS. Don't stress about performance; you're not going to be developing any AAA titles, so just get started with what you know!

What kind of games are you thinking of making, though? It could totally influence what you should pick.