.yaml, .toml, etc?

  • Rikudou_SageA
    link
    1211 months ago

    Yaml for me, I really like it. And the fact that every valid JSON is also a valid YAML is nice.

    • Magnus Åhall
      link
      fedilink
      311 months ago

      YAML here as well.

      Configuration many levels deep gets so much harder for me to read and write in JSON with all [], {} and “”

      Also the lack of comments… And YAML still is more used in software I’m using than JSON5, so I’d rather skip yet another format/library to keep track of.

    • @argv_minus_one@beehaw.org
      link
      fedilink
      211 months ago

      Please do not use YAML. It’s a syntactic minefield. It also doesn’t allow tab indentation, which is supremely irritating.

      • Rikudou_SageA
        link
        311 months ago

        As I said, I like it the most, so I will use it. I like its syntax (except for yes and no for booleans, but nothing’s perfect). I don’t care much for tabs vs spaces, I use tab in my IDE and whatever it does, it does.