3 ms·
I don't care. I use yaml because a human can typically parse it and the files are always smaller.
by bastardoperator 3y ago
I don't care. I use yaml because a human can typically parse it and the files are always smaller.
- Smaug123 3y agoAs I am fond of saying, there's a common misquotation that runs "YAML is easy for humans to read". The full quote is "YAML is easy for humans to read wrongly".
- bastardoperator 3y agoIf humans could get it right the first time, we'd all be unemployed.
- Smaug123 3y agoEven I'm not so cynical as to claim that a tool is good because it's hard to use correctly so it makes work for us when we inevitably get it wrong!
- tremon 3y agoThis. There is no use writing "X is better than Y" without specifying what metric(s) you're using. If it's about human legibility or editability, YAML is better than XML. On the other hand, I would never use YAML as a machine-to-machine data interchange format; for those, JSON or XML are superior. I also had to laugh at this statement: the YAML specification has all these features that nobody ever uses, because they’re really confusing, and hard, and you can include documents inside of other documents, with references and stuff That's a pretty funky argument to use in favour of XML.
- MrPatan 3y agoI can't parse it.
- postalrat 3y agoBest parsed with a ruler on the screen.