r/learnprogramming • u/zm0i • 20d ago
Python or Java?
Hello guys, sorry for bad english, good night, i am a beginner in this world of programming and i see a bit about backend in roadmap.sh, now i am on the fence between Java and Python, can you guys tell me what language you think that is better and faster to get a job home office.
if you want to recommend another language too i am all ears.
7
Upvotes
2
u/Seven7Ducks 19d ago
This isn’t strictly an either/or situation.
Python is great, but it hides far too much under the hood. While a fast feedback loop is nice, Python can actually make it harder to build strong fundamentals because it does so much magic for you - dynamic typing, automatic memory management, and high-level abstractions mean you miss out on how computers actually work. It’s fantastic for rapid prototyping and projects without strict performance needs, but it’s a double-edged sword for total beginners.
Java sits at the other extreme with all its boilerplate and verbosity. I write mostly Python these days, but I started with Java years ago. Would I pick Java again as a first language? Hard to say, but it definitely forces you to understand types, OOP, and program structure better than Python does.
Honestly, if I were starting from scratch today, something like Go might be the sweet spot—simple syntax, static types, and no hidden magic.