3 ms·
The YAML spec is a ridiculous hodge podge. It's a factory farm packed with feeping creatures. The kind of person who cares about that sort of thing is the kin
by rectang 10y ago
The YAML spec is a ridiculous hodge podge. It's a factory farm packed with feeping creatures.
The kind of person who cares about that sort of thing is the kind of person who hates YAML passionately.
- crdoconnor 10y agoIt sadly is, but the core syntax of YAML IMHO is still nicer than any other. To that end, I wrote a parser that simply cuts out the crappy features leaving just the basic core (and added optional type-safety/validation): https://github.com/crdoconnor/strictyaml https://github.com/crdoconnor/strictyaml I also tried to write up a more extensive justification for anybody who scratching their head trying to decide which config format to use (including a "why not HOCON" paragraph): https://github.com/crdoconnor/strictyaml/blob/master/FAQ.rst https://github.com/crdoconnor/strictyaml/blob/master/FAQ.rst
- rectang 10y agoNice project! I agree about the YAML core syntax. And your FAQ is so well argued that I submitted it to HN: https://news.ycombinator.com/item?id=14318472 https://news.ycombinator.com/item?id=14318472
- crdoconnor 10y agoThanks!