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?

  • @[email protected]
    link
    fedilink
    English
    111 days 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
      211 days 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.