3 ms·
I am sorry but I just could not grasp YAML for some reason. I am always confused by its indentation and maps vs lists notation.
by roustem 9y ago
I am sorry but I just could not grasp YAML for some reason. I am always confused by its indentation and maps vs lists notation.
- _ix 9y agoI am not ashamed to admit that I felt the same way for a time. I don't know when things changed, but it started to click recently, and I actually like yaml. I guess that it helps that it has become rather ubiquitous in our build tools between cloud-init, puppet hieradata, and ansible roles/playbooks. What hasn't been helpful is what others here and elsewhere have reminded me time and time again... "JSON is a subset of yaml"
- chucky_z 9y agoThe documentation is actually quite good! http://yaml.org/spec/1.2/spec.html http://yaml.org/spec/1.2/spec.html They provide a huge amount of examples, and YAML is actually I think a lot more powerful than most folks realize.
- sbennettmcleish 9y agoInitially I was that way too, only took a couple weeks and a few reference templates that demonstrated the constructs to get past that and haven't done JSON since. Definitely more efficient to develop with.