• flying_sheep@lemmy.ml
      link
      fedilink
      arrow-up
      2
      ·
      2 hours ago

      That’s why they make sense in code and config files. JSON is neither, despite the insistence of far too many people to write configuration in it.

      • tetris11@feddit.uk
        link
        fedilink
        English
        arrow-up
        2
        ·
        2 hours ago

        In an ideal world, yes. In a locked down world where you have access only to 1/4 the codebase or your job is more ontology-focused, all you have access to might be the JSON. Leaving a comment or two about why a particular value or hierarchy is as it is is sometimes more clear than writing up a seperate README that no one will read