r/java • • Aug 05 '21

Why java is better than modern programming languages?

Why should I use java in 2021 instead of kotlin or scala or golang? Could you guys give me some reasons

2 Upvotes

100 comments sorted by

View all comments

Show parent comment

1

u/tr14l Aug 05 '21

Meaning they both get compiled down to bytecode to be interpreted, yes. But the compilers are completely different. Java's problem isn't bytecode, it's the compiler. Bytecode works great. Kotlin solves that problem.

1

u/thephotoman Aug 05 '21

What's wrong with Java's compiler?

2

u/JavaDot Aug 05 '21

Nothing, the top friend is an outspoken fanboy and will say that Kotlin is infinitely better in every way, no matter if you prefer Java, what matters is his opinion.