Hacker News new | ask | show | jobs
by pjmlp 2142 days ago
Which for me is a design smell, why bother with workarounds when XML already offers me all the best tooling out of the box.
1 comments

For me, xml is just too much, and when working with C or C++ (not t sure about rust) it's just a pain. Can your json schema file not serve as the documentation?
Why should it be a pain? Parsing XML is no different than parsing JSON, there are plenty of robust parsers available since around 2000.

Mature libraries with plenty of experience deploying into production.

Plus for small enough stuff, like configuration files, one can just plug XPATH as well, making the search for items even easier.