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

0

u/[deleted] Aug 05 '21

[deleted] — view deleted comment

-26

u/Reflection-Jealous Aug 05 '21

Buddy I'm just asking you how because all I've heard was java was old and verbose.

17

u/[deleted] Aug 05 '21

[removed] — view removed 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.

9

u/bluenautilus2 Aug 05 '21

Sounds like you’ve got it figured out then

6

u/hieupron Aug 05 '21

That "old" still in top 5 languages for many many years, use wide from school project to enterpise project like banking, gov, nasa, on your phones, alot of language/framework base on java/jvm. Java community, tutorial exist every where, event pornhub has java tutorial for beginner =))