this post was submitted on 05 Apr 2024
520 points (94.7% liked)

Programmer Humor

20039 readers
728 users here now

Welcome to Programmer Humor!

This is a place where you can post jokes, memes, humor, etc. related to programming!

For sharing awful code theres also Programming Horror.

Rules

founded 2 years ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 28 points 9 months ago (5 children)

You're not wrong, it's still a staple today, but it lost a lot of its shine a while ago. They are mimicking "new" features introduced in other languages, but make a point to preserve retrocompatibility.

I can't imagine how convoluted the JVM has become in the last 10 years.

[–] [email protected] 34 points 9 months ago (4 children)

I don't really see how that is bad..? Java wants to be widely applicable and taking the best features from other languages helps that goal, right?

[–] [email protected] 5 points 9 months ago* (last edited 9 months ago) (1 children)

Because Java sucks at taking those features. I mean look at Java's Optional abomination of a class and compare it to C# or Typescript's optional chaining ( ?. ) language feature.

There's a reason Kotlin was created, because Java is still bogged down by all its legacy kruft.

[–] QuaternionsRock 3 points 9 months ago

It still boggles my mind that C# is as good as it is given where it comes from. Java really fucked up with type erasure and never fully recovered imo.

load more comments (2 replies)
load more comments (2 replies)