News for hackers. Stuff that matters.
Re:No YAML by geerlingguy on Wednesday October 27, 2021 @10:15PM (#29021555)
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.

Re:No YAML by emodendroket on Thursday October 28, 2021 @12:14AM (#29022310)
Hand-writing escaped JSON is an exercise in frustration, unlike YAML. Another point in its favor.
Re:No YAML by lamontcg on Thursday October 28, 2021 @12:16AM (#29022327)
> 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