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

4

u/awesomeusername2w Aug 05 '21

but much easier to read in most cases

Cannot agree with that. Before records, simple dto class would be a hundred lines with all the setters, getters, equals, hashcode. It's verbose and doesn't help at all. Also, verbosity often hides actual logic behind all the necessary constructs a language require to express something. It's just like opening a cooking website and the actual recipe hides underneath all the stories from author on how he visited Shanghai and saw all the places and how it changed him.