r/ProgrammerHumor • • Sep 13 '18

Meme Writing YAML

Post image
651 Upvotes

88 comments sorted by

View all comments

Show parent comment

2

u/aboardthegravyboat Sep 13 '18

Aside from the other answers... one neat thing about YAML is that it supports references to other values. http://sangsoonam.github.io/2017/03/13/yaml-vs-json.html check out the "aliasing" and "merging". That's the main big difference. Otherwise, they serve basically the same cases.

2

u/name_censored_ Sep 13 '18

Also, commenting - which is why it seems to be popular as a format for configuration files.

1

u/noratat Sep 14 '18

I like YAML, but the referencing feature is more anti-feature than feature. It's not really useful outside of a few niche cases, and adds a lot of parser complexity and edge cases.