• @LordKitsuna
    link
    891 month ago

    Anyone that says yaml is readable is psychotic. It’s literally objectively not readable because a random white space character can break the entire thing and that’s by definition not readable I can’t see whether there’s a white space or not without explicitly setting that up in an editor

    • @Deestan
      link
      431 month ago

      The scandinavian country codes, as understood by yaml:

      • se
      • false
      • dk
      • @[email protected]
        link
        fedilink
        91 month ago

        Only 1.1. Which everybody has been fiercely clinging onto since 2009, because YAML 1.2 did not seem to consider it a problem that they broke backwards compatibility on that behavior. So now the only way to keep existing YAML files working is for us all to keep pretending YAML 1.2 does not exist.

          • @[email protected]
            link
            fedilink
            21 month ago

            Which versioning???

            somekey: yes
            

            Go right ahead and tell me what the YAML version is and what is the type of somekey is. Oh that’s right, it’s impossible, because the versioning is entirely up to the serializers for some godforsaken reason.

        • @[email protected]
          link
          fedilink
          English
          21 month ago

          they broke backwards compatibility

          Tell me this is post-y2k and built in the dark ages after we lost our mentors and gurus without using those words.

      • @LordKitsuna
        link
        31 month ago

        I mean sure or you could just start by using a format that’s not so painfully strict with how it’s laid out. I miss the good old INI config. It couldn’t give two shits how you format it, throw in random spaces random tabs random new lines so long as the value was correct