• @masterspace@lemmy.ca
    link
    fedilink
    English
    5
    edit-2
    3 months 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.

    • @QuaternionsRock@lemmy.world
      link
      fedilink
      33 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.