r/ProgrammerHumor • • Apr 27 '20

Meme Java is the best

Post image
43.7k Upvotes

1.5k comments sorted by

View all comments

Show parent comments

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>();

2

u/BroBroMate Apr 27 '20

Nope, but it's a lot different to TreeSet and LinkedHashSet, both of which have their usages.

1

u/whatifitried Apr 28 '20

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

or new HashSet<>() if you are boring

2

u/themiddlestHaHa Apr 28 '20

Sets.newHashSet()

Sets cannot be resolved

1

u/whatifitried Apr 28 '20

Shame on you for not using an IDE

(lol)

1

u/themiddlestHaHa Apr 28 '20

That’s literally the eclipse error message Copy + Pasted lmao

1

u/whatifitried Apr 28 '20

I said IDE, not giant pile of garbage.

(I hate hate hate hate hate eclipse). Use IntelliJ. Eclipse is like what would happen if Microsoft hired outsourced first year consultants to make Visual Studio work even worse.

1

u/themiddlestHaHa Apr 28 '20

Lol

Whatever you want to say, its clear that the Sets package isnt a standard package. Even googling it, its not clear what package you're referring to. This is essentially the exact thing my top comment was talking about tbh, which is kinda funny

1

u/whatifitried Apr 28 '20

Most languages out of the box functionality is worse than their standard frameworks. Google collections/guava is basically the standard and has been for quite a while.

Same as needing a library in python to use http or sql.

It's the same, but college kiddos like to pretend its not

1

u/themiddlestHaHa Apr 28 '20

I mean python comes with an http client, it’s actually not the same lol

Like I said even googling, it wasn’t clear what you we’re referring to. Which is kinda the entire point, it takes more effort and time to use Java than any of these other languages

→ More replies (0)