| For those who missed it, here's what Linus wrote in the comments: "+Aaron Traas no, XML isn't even good for document markup. Use 'asciidoc' for document markup. Really. It's actually
readable by humans, and easier to parse and way more flexible
than XML. XML is crap. Really. There are no excuses. XML is nasty to
parse for humans, and it's a disaster to parse even for
computers. There's just no reason for that horrible crap to
exist. As to JSON, it's certainly a better format than XML both for
humans and computers, but it ends up sharing a lot of the
same issues in the end: putting everything in one file is
just not a good idea. There's a reason people end up using
simple databases for a lot of things. INI files are fine for simple config stuff. I still think
that "git config" is a good implementation." |
Subversion has a really good XML output for its log command which is a joy to use (and that's something to say if you work with XML) whereas with git you always have ugly format options that are most of the time underdocumented.