• @masterspace@lemmy.ca
    link
    fedilink
    English
    5
    edit-2
    1 year ago

    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.

    • 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.