• masterspace
    link
    fedilink
    English
    arrow-up
    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
      arrow-up
      3
      ·
      3 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.