.yaml, .toml, etc?

    • AeroLemming
      link
      fedilink
      English
      arrow-up
      1
      ·
      11 months ago

      It’s so easy to use, and you can read the comments from in your program too!

      ^(in case you weren’t just playing along, please never do comments this way)

      • simonced@lemmy.one
        link
        fedilink
        English
        arrow-up
        1
        ·
        11 months ago

        I liked the idea to be honest. I can just call the entry “description” instead and all is good ^^

        • AeroLemming
          link
          fedilink
          English
          arrow-up
          2
          ·
          11 months ago

          Ideally, you would use TOML for human-readable configuration and document your JSON API with external documentation instead of sending comments around a bunch. If you need to display the description to the end user though, that would be a valid use case.