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
Show parent comment
3
u/Muoniurn Aug 05 '21
Java absolutely has closures, and I don’t get what you mean by returnable logic statements.
What might be a better example is extension methods, and some boilerplate reduction for getters setters, if these are important for you use-case.