this post was submitted on 05 Apr 2024
512 points (94.3% liked)

Programmer Humor

19594 readers
785 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 1 year ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[โ€“] masterspace@lemmy.ca 5 points 7 months ago* (last edited 7 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@lemmy.world 3 points 7 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.