My spicy take is that XML is better than YAML, because there are situations where XML is appropriate, but there’s no situation where YAML is appropriate. Let me explain…
YAML is never appropriate. XML is also never appropriate.
There might be some fine parts of XML. If somebody made a subset of XML with just the good parts, I might be convinced that was a fine and decent thing that was “sometimes appropriate.” But XML is more than just angle brackets and forward slashes. With namespaces and XSL and XPath and DTDs and schemas and entities, it’s a Lovecraftian mess of madess from which death is the only respite.
YAML is never appropriate. XML is also never appropriate.
There might be some fine parts of XML. If somebody made a subset of XML with just the good parts, I might be convinced that was a fine and decent thing that was “sometimes appropriate.” But XML is more than just angle brackets and forward slashes. With namespaces and XSL and XPath and DTDs and schemas and entities, it’s a Lovecraftian mess of madess from which death is the only respite.
http://harmful.cat-v.org/software/xml/
Hahaha no it’s fine I’ll just slap together some regex to parse what I want out of it, what’s the worst that could happen
The horror!!
I’m considering making another account to upvote you again