• Semperverus@lemmy.world
      link
      fedilink
      English
      arrow-up
      2
      arrow-down
      1
      ·
      4 months ago

      I wish we would all start switching over to JSON for configuration files. It’s so much easier to parse, and you can’t screw it up with too many spaces or not enough.

        • tiramichu@sh.itjust.works
          link
          fedilink
          English
          arrow-up
          3
          ·
          edit-2
          4 months ago

          My biggest peeve with JSON when I’m forced to use it as a configuration format is that it doesn’t have any syntactical support for comments.

          So I can’t even add any notes to the file.

      • FooBarrington@lemmy.world
        link
        fedilink
        English
        arrow-up
        1
        ·
        4 months ago

        It’s IMO also so much clearer regarding data types. You can’t accidentally write a boolean when you want a string.