3 ms·
If you've ever tried managing complex, human-centric configuration in JSON, XML, ini, or most any other format, you realize it ticks a lot of the checkboxes tha
by geerlingguy 5y ago
If you've ever tried managing complex, human-centric configuration in JSON, XML, ini, or most any other format, you realize it ticks a lot of the checkboxes that are necessary for a good human-readable configuration format:
Requires some amount of legibility out of the box due to whitespace requirements.
Can store complex data structures (and even direct JSON).
Allows comments.
- emodendroket 5y agoHand-writing escaped JSON is an exercise in frustration, unlike YAML. Another point in its favor.
- lamontcg 5y ago> Requires some amount of legibility out of the box due to whitespace requirements. which makes it terrible due to semantic whitespace rules. parsers shouldn't care about legible whitespace linters should care about legible whitespace