6 ms·
Many people hate XML more than JSON, and I would agree with them. I hate both, and prefer yaml.
by edgan 9y ago
Many people hate XML more than JSON, and I would agree with them. I hate both, and prefer yaml.
- 5ilv3r 9y agojson and xml are visually balanced. All beginnings have an end. I have trouble with yaml because it lacks that.
- sk5t 9y agoHave you really read the YAML spec? It's a rather complex grammar. I get that YAML is visually cleaner than JSON; however, unless we're constrained to very trivial use cases there's probably too much to think about. JSON's strong lack of TMTOWTDI is an asset here. As for XML: namespaces, DTDs, entities, XSD, XSL, XPath, and on and on, have resulted in some absolutely horrendous architecture astronautism. XML itself is (mostly) perfectly fine but there are too many unqualified people in the industry wielding XML, poorly, and creating massive headaches. XML also presents some interesting security challenges.