News for hackers. Stuff that matters.
Re:Why are we templating YAML? by setr on Thursday February 07, 2019 @05:26PM (#19109248)
I think its because python has very strict and very simple indentation rules (a nested block must be indented, and the file requires consistent indentation. Is there anything else?)

YAML gives you options, or varies necessity somewhat arbitrarily on the structures, which is (marginally) good for reading, but a lot of headache in writing

Re:Why are we templating YAML? by amanzi on Thursday February 07, 2019 @05:32PM (#19109292)
Also because the longer the YAML file, the bigger your indentation gets. It gets exponentially worse as you go.
Re:Why are we templating YAML? by setr on Thursday February 07, 2019 @09:08PM (#19110809)
In python that’s been a non-issue, but I’m not sure YAML can reset indentation as python does with functions