• BarrierWithAshes@kbin.social
      link
      fedilink
      arrow-up
      4
      arrow-down
      2
      ·
      9 months ago

      Wow. I’ve never used yaml or even looked at it but damn that is horrid. Why do people even use this? JSON and XML are so better.

      • snowe@programming.devM
        link
        fedilink
        arrow-up
        5
        arrow-down
        2
        ·
        9 months ago

        Because no one ever uses those. Literally > and | are the only ones I’ve ever seen in over a decade and you will never need to worry about the differences between the two.

        XML as a configuration language is terrible. Yaml gets the point across in an easily readable way, which is exactly the point. Same for JSON except JSON you can’t even use comments (you need json5 or one of the numerous other alternatives to get those).