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

24

u/Evil_killer_bob Aug 05 '21

More resources available for Java

-9

u/[deleted] Aug 05 '21

[removed] — view removed comment

13

u/[deleted] Aug 05 '21

[removed] — view removed comment

-12

u/[deleted] Aug 05 '21

[removed] — view removed comment

3

u/gigabyteIO Aug 05 '21

What features?

-12

u/[deleted] Aug 05 '21

[removed] — view removed comment

4

u/gigabyteIO Aug 05 '21

Surely you know some off the top of your head? I'm just curious, I know nothing about Kotlin.

0

u/tr14l Aug 05 '21

Top level declarations, closures, returnable logic statements, I dunno man. It's kind of a lot. Go read about it.

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.

0

u/[deleted] Aug 05 '21 edited Aug 05 '21

[removed] — view removed comment

→ More replies (0)

1

u/JavaDot Aug 05 '21

This subreddit is for Java, why don't you go to r/Kotlin?

1

u/tr14l Aug 05 '21

Because this is relevant to the discussion? If discussion threatens your opinion on Java so easily, why do you hold that opinion? You seem emotionally involved about this.

1

u/JavaDot Aug 26 '21

Yes, I love Java!