by u801e · 5y ago · 0 comments
Ideally, a configuration file should be easy to read and write/modify by a user of the application. A lot of applications just stick with ini like formats because it meets both requirements.
I really struggle to write yaml. I end up writing it as json and converting it. I agree about ini though.
Since valid JSON is also valid YAML with the same semantics, it is impossible for it to be harder to write YAML than JSON, and no conversion is necessary.
If anything, YAML is harder to read because the indentation is important, yet deliberately invisible.
Whitespace with inconsistent rules is awful.