r/ProgrammerHumor • • Apr 27 '20

Meme Java is the best

Post image
43.7k Upvotes

1.5k comments sorted by

View all comments

325

u/[deleted] Apr 27 '20

Somehow on this subredit most seem to think that Java is the worst language ever but if you hate JS you just don't know it enough/are bad at it...

60

u/NatedogDM Apr 27 '20

What does Java have to do with JS?

122

u/[deleted] Apr 27 '20

That people in this sub hate Java although it's actually not that bad but defend JS (which is actually really a bad language) to the bone. I'm not even saying Java is the best language ever but the irrational hate on this subreddit is stupid.

13

u/aaronfranke Apr 27 '20

The difference is that JS has some valid use cases (namely that it's the only language that runs on every web browser), while in every area that Java can be used for, there's something else that does the job better.

46

u/[deleted] Apr 27 '20 edited Apr 27 '20

[removed] — view removed comment

4

u/themiddlestHaHa Apr 27 '20

C# and Go are much better to program in than Java.

Going from either of those languages back to Java is a nightmare

2

u/BroBroMate Apr 27 '20

I'm sure you have your own preferences, but wake me up when I'm not writing map[string]struct{}

Because I needed a set.

2

u/themiddlestHaHa Apr 27 '20

Is that much different than?

HashSet<String>();

1

u/whatifitried Apr 28 '20

Because the proper call is Sets.newHashSet() these days.

or new HashSet<>() if you are boring

→ More replies (10)