• Ethan@programming.dev
    link
    fedilink
    English
    arrow-up
    1
    ·
    1 day ago

    Anything can be abused. That’s not a legitimate reason to take away perfectly reasonable features. Looking at you, Java (unsigned integers).

    • Ephera@lemmy.ml
      link
      fedilink
      English
      arrow-up
      1
      ·
      17 hours ago

      Well, I assume they had other concerns, too. For example, it adds a bunch of complexity for reformatting a JSON from single-line to pretty-print, if comments can appear in there. I’m certainly not saying that I’m always best friends with the decision to remove comments, just that I can somewhat understand it.

      • Ethan@programming.dev
        link
        fedilink
        English
        arrow-up
        1
        ·
        15 hours ago

        Their stated justification is that people would abuse comments, using them to carry semantic or syntactic information. That’s a shit justification IMO.

        As far as the additional complexity that comments bring, I understand that from a technical perspective but from an engineering-for-real-humans-in-the-real-world perspective that’s the kind of thing you just have to deal with if you want to design a good format.