4 ms·
JSON is natively supported by many languages. I don't know of any language that supports YAML without a 3rd party library.
by bufferoverflow 4y ago
JSON is natively supported by many languages.
I don't know of any language that supports YAML without a 3rd party library.
- maxbond 4y agoHmm, for sure, personally I find it a very small price to pay for everything YAML offers, but I understand this is a matter of taste and judgement where reasonable people disagree, and that there are problem spaces/organizations where adopting dependencies is difficult/has a lot of red tape. Is it merely about the ecosystem? I'm curious if something about the language isn't meeting people's needs.
- davebranton 4y agoYAML is much too complex. I am never able to remember all the different ways of formatting text, for instance, and have to resort to cheat-sheet guides such as this all the time. https://yaml-multiline.info/ https://yaml-multiline.info/ The YAML spec is thousands of lines long (23k words, to be more exact). This is even longer than XML (20k words). JSON's spec is less than two thousand words. For a language that's supposed to be human-readable, YAML is maddeningly complex. https://yaml.org/spec/1.2.2/ https://yaml.org/spec/1.2.2/ Plus, of course, you can execute arbitrary code with it. By design. AND it contains semantic whitespace, which is personally my least favourite innovation ever.