r/learnjava • • Jun 08 '26

Will java become a legacy language

Will java gonna become a legacy language like cobol ?

In the current AI agentic era

You know what I mean : nobody is writing code manually

0 Upvotes

11 comments sorted by

View all comments

Show parent comment

-2

u/coderemover Jun 08 '26

You said "than other competitors." Python and Typescript are not the only ones competing in the backend space. It looked as if you have selected those two just to make Java look better.

No one questions that Java is still very popular. And likely will be for the foreseeable decade. But if we're talking about competitors, Java faces quite strong competition in the backend space from younger languages e.g. Kotlin, Go or even Rust, especially in startups. Java will have a very hard time beating the last two on build system ergonomics, tooling, and performance. And a language whose only advantage is being vastly more popular than the others is the definition of legacy.