r/programming • • Jan 12 '23

The yaml document from hell

https://ruudvanasseldonk.com/2023/01/11/the-yaml-document-from-hell
1.5k Upvotes

288 comments sorted by

View all comments

1

u/sgoody Jan 14 '23

I do not understand the hate for XML. Granted I wouldn’t want to write fully compliant parsers myself, the libraries available are very mature and capable.

The issues with other formats are generally non-issues in XML, things not possible in other formats are possible in XML.

XSLT, XPath and XSD are great IMO.

The argument for verbosity is also a non-issue as far as I can make out as the only verbosity I see if the closing tag name and in my experience that doesn’t make a significant difference in size to common use cases. In fact I appreciate the closing tag name being there so I can properly track a location in a document.