We've spent like 10 years trying to fill in gaps left when we all decided to hate XML. JSON is great as a lightweight DIF between trusted partners. If you care about maintenance and safety, XML with XSD is rock solid.
What is a DIF?
YAML: probably not so great after all (2017)
21–30 of 412 posts
Re: YAML: probably not so great after all (2017)
#22Re: YAML: probably not so great after all (2017)
#23Re: YAML: probably not so great after all (2017)
#24I never understood what it is that people like about YAML. I keep configuration in EDN, which avoids all of the problems described in the article and has other advantages, too.
Re: YAML: probably not so great after all (2017)
#25Definitely not. I'd expect 0x42 to be 66. (Not kidding, if 0x42 means hex notation!).
Point taken.
Re: YAML: probably not so great after all (2017)
#26With YAML I can never remember what's an object versus a list, string, or number, nor am I ever able to add new stuff to a YAML file and get it to parse correctly without first looking up the spec. And it's impossible to see where large objects start and end. In contrast, JSON is super intuitive and basically self documenting. The only real quirks are that you need to use double quotes, and objects can't have a trail…
Intuitive usually means "close to what I'm used to".
Re: YAML: probably not so great after all (2017)
#27Re: YAML: probably not so great after all (2017)
#28I've done informal polls on it and every time it's an even split between .yaml and .yml
Re: YAML: probably not so great after all (2017)
#29We've spent like 10 years trying to fill in gaps left when we all decided to hate XML. JSON is great as a lightweight DIF between trusted partners. If you care about maintenance and safety, XML with XSD is rock solid.
Re: YAML: probably not so great after all (2017)
#30We've spent like 10 years trying to fill in gaps left when we all decided to hate XML. JSON is great as a lightweight DIF between trusted partners. If you care about maintenance and safety, XML with XSD is rock solid.
My biggest complaint with JSON is the lack of support for comments. For that reason, it's hard to take it seriously for human-maintained configurations.
I've been slowly ripping out YAML support and converting configurations to TOML.