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

Programmer Humor

20039 readers
242 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] 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.