I feel that Yaml sucks. I understand the need for such markup language but I think it sucks. Somehow it’s clunky to use. Can you explain why?

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

    I dream of a life where I use YAML but all my configs are stuck in XML. People can complain but there’s always worse options.

    • FizzyOrange
      link
      fedilink
      arrow-up
      2
      ·
      4 months ago

      One nice thing about XML is that there’s an official way to link to the schema from within the document. If you do that you can easily automatically validate it, and even better you get fantastic IDE support via Red Hat’s LSP server. Live validation, hover for keys, etc.

      It’s a really nice experience and JSON schema can’t really match it.

      That said, XML just has the wrong data model for 99% of use cases.