12 Mar
2016
12 Mar
'16
12:05 a.m.
YAML is a lot easier to write a small file by hand, but it's kinda brittle & easy to fuck up. Not nearly as expressive as XML either. Great for small config files; imho not so great for most other things.
JSON strikes a nice balance between expressiveness and human readability. That's probably why REST (or if you eschew buzzwords, JSON over HTTP) is so popular these days.
Unfortunately JSON requires quotes around everything, which on English keyboards requires the same <SHIFT>+<key> keypresses as XML. Might look a little better than XML, but not a lot better for editing/ typing files...