I'm new to programming and have narrowed my choices down to Java and Python. Java interests me because I'd eventually like to create Minecraft mods, while Python seems highly recommended for beginners, although I'm not sure what projects I would make with it. Which language would you suggest starting with, and what are some good resources for learning it?
3 Answers
Both Java and Python teach the core ideas you need: variables, conditions, loops, functions, and problem-solving. Once you understand those concepts, moving to the other language is much easier. Java is more verbose and requires you to work with types explicitly, which can provide a stronger introduction to program structure. Python is more concise and may let you get interesting results sooner.
Choose the language that gives you the strongest motivation to keep practicing. Java is a good route if Minecraft modding is your goal, and the skills will also transfer well to languages such as C#, C++, and JavaScript or TypeScript. Start with a structured beginner Java course, practice with small console programs, and focus on fundamentals before learning modding tools.
Either choice is fine, and the first language matters less than learning the fundamentals and sticking with it. Python is usually a little quicker for beginners because you can write useful programs with less setup. You could try small projects like tic-tac-toe, hangman, Connect Four, Snake, or Tetris. If Minecraft modding is your main motivation, Java is a sensible first choice—just expect to learn the language and programming basics before you start making mods.
I’m leaning toward Java because I already know what I’d like to use it for. I understand that Minecraft mods will take time, but I’d like to learn Java properly first. What beginner-friendly guide would you recommend?

That makes sense. Since Java is the one connected to a project I care about, I’ll probably start there and learn Python later.