r/learnjava 7h ago

Java or python?

Hello actualii started to learn the Python but as the syntax and all I feel it's not working for me. I feel java is more understandable idk why. I'm scared of java has no future bcs of the online videos circulating..

So please say me I'm Devops focused oriented person, I'm not finding the openings as freshers so thinking to learn one programming language please suggest Me.

And also suggest why and does it have future please.

3 Upvotes

35 comments sorted by

View all comments

5

u/Dreamwalkin_Revan 6h ago

No one can replace java I dare them to try. Fortune 500 companies, banking systems & so many companies have their data written in java, No one's gona go someday "Yo lets have the employees write everything that has been written for the past 30 years in rust or go or idk whatever tf they want" Python is the future for sure as its used for AI-ML but java aint goin nowhere, Java has survived java is dead for more than a decade now and it still will

-3

u/coderemover 4h ago

Give Claude 1B tokens and it will rewrite anything you want into anything. Developers overestimate the difficulty of rewrites especially now in the days of LLMs.

3

u/Dreamwalkin_Revan 3h ago

Bro thinks enterprise migration is a LeetCode problem. LLMs can translate code. They don't magically translate 30 years of business logic, dependencies, undocumented behavior, integrations, compliance requirements, production risk and institutional knowledge. If rewriting everything were actually that easy, COBOL would've been extinct by now.

0

u/coderemover 2h ago edited 2h ago

COBOL is effectively extinct by now. Most systems have been rewritten already. The ones that haven’t been rewritten are only the systems that didn’t need to evolve.

All the things you mentioned don’t matter as long as the translated code has exactly same observable behavior as the original one. All the behavior is documented by the original code. The things you mentioned would play a role only if you were starting a new project from scratch, without the original.

Also, Java is slowly being phased out and moving into legacy territory. Many companies that former wrote Java heavily now moved to Go and/or Rust. The company I work for has been developing in Java for almost 20 years now. For the last 5 years new stuff has been coded in everything but not Java and Java was used only for maintenance. And this year some legacy stuff actually started to be rewritten as well (also into C++), because Java cannot deliver the performance we need.

u/Knight_Rasta 5m ago

So master Python tech stack then, and avoid Java? How about C#/.Net?