this post was submitted on 07 Dec 2023
6 points (100.0% liked)

196

16551 readers
2080 users here now

Be sure to follow the rule before you head out.

Rule: You must post before you leave.

^other^ ^rules^

founded 1 year ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[–] SSUPII@sopuli.xyz 1 points 11 months ago (1 children)

Java is poison for the mind

[–] Gormadt@lemmy.blahaj.zone 0 points 11 months ago (2 children)

Why do people feel this way?

I'm genuinely curious as I'd think having a wider swathe of coding experience would be a good thing wouldn't it?

I don't work in fields that use coding expertise, I drive a forklift so I'm out of my wheel house when it comes to coding.

[–] gornius@lemmy.world 1 points 11 months ago (1 children)

Java used to lack many features to make the stuff you wanted it to do, so most Java programmers adapted design patterns to solve these problems.

Honestly, older versions of Java are utter garbage DX. The only reason it got so popular was because of aggressive enterprise marketing and it worked. How can a language lack such an essential feature as default parameters?

So, anyway after the great hype Java lost its marketshare, and developers were forced to learn another technologies. And of course, instead of looking for language-native way of solving problems, they just used same design patterns.

And thus MoveAdapterStrategyFactoryFactories were in places where simple lambda function would do the same thing, just not abstracted away three layers above. Obviously used once in the entire codebase.

Imo the only really good thing about Java was JVM, while it was not perfect, it actually delivered what it promised.

[–] Franzia@lemmy.blahaj.zone 1 points 11 months ago

This is the only necessary comment in the entire thread, thanks for explaining

[–] PaperTowel@lemm.ee 1 points 11 months ago

Java in a large way has been eclipsed by most other languages, and developers kind of have a way of making fun of old technologies, like a lot of the same jokes are made about PHP which is still very popular but outdated. In reality Java is also still incredibly popular and knowing it is certainly a benefit. It's just a collective joke.