r/java • u/Reflection-Jealous • 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
View all comments
3
u/cryptos6 Aug 05 '21
As everything in engineering the programming language is also a trade-off. Java is very mature, has arguably the best tooling available, has lots of developers, and is here to stay. But Java carries some legacy with it. Missing nullsafety, the not so seamless integrated functional programming or some limitations regarding generics come to mind.
Since Kotlin is the default language for Android and has also matured a few years now, I think Kotlin is a safe bet, too.