3 ms·
A point against YAML, that I always read, is its specification, too big etc. I don't know much about this issue... I like how nice config files can look with Y
by k__ 11y ago
A point against YAML, that I always read, is its specification, too big etc. I don't know much about this issue...
I like how nice config files can look with YAML and JSON being a subset of it makes it even more convenient
- creshal 11y agoHJSON isn't exactly a nicely compact spec I'd want to use in data exchange either. For local configuration files and the likes, where you want comments etc., it doesn't really matter how big the spec is.
- seagreen 11y agoYAML spec: http://yaml.org/spec/1.2/spec.html http://yaml.org/spec/1.2/spec.html JSON spec: http://www.ecma-international.org/publications/files/ECMA-ST/ECMA-404.pdf http://www.ecma-international.org/publications/files/ECMA-ST... If you haven't read the JSON spec and you use JSON I recommend doing so. It takes five minutes. My personal favorite line: "Because it is so simple, it is not expected that the JSON grammar will ever change."
- k__ 11y agoI did, long time ago. Also, they're probably right. I mean JSON isn't pretty, but its easy. Why should I use YAML for prettier config files, when the people looking into those files are all technical anyway.