I'm new to coding and have been learning for about two months now. I'm really passionate about becoming a game developer and I started off learning Java, which I feel a good connection with. However, I've been told that C# is the go-to language for game development. Should I continue learning Java, or is it better to switch to C# now? I'm looking for guidance on whether I can stick with Java for a bit longer or if I should make the shift right away. Thanks for any advice! Sorry if my English isn't perfect; it's not even my third language!
3 Answers
Stick with Java if you're comfortable! Both languages are similar enough that once you get the hang of programming concepts, switching won’t be a huge hurdle. But if game dev is your passion, you may want to dive into C# as it’s widely used in the industry. It's all about what you need for your goals.
You really can’t go wrong with either language. Java is great, but C# is definitely more popular in the game dev world due to engines like Unity. If you’re serious about game development, figuring out which game engine you want to use might help determine your language choice. For example, Unity uses C#, while Godot uses its own syntax or C#. So maybe focus on the engine first!
I think you should continue with Java for now. The two languages are quite similar, so transitioning to C# later will be pretty smooth. Why not make small games just for fun to get comfortable with coding first? You'll be able to apply what you learn in Java when you switch to C#. Plus, learning programming architecture is more important than stressing about the language itself!
Thanks for the tips! I actually like the idea of building simple games for practice while I learn.

I’m really interested in building games like I played as a kid. Any advice on getting started with that?