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?

  • FizzyOrange@programming.dev
    link
    fedilink
    arrow-up
    2
    ·
    3 个月前

    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.