Hacker News new | past | comments | ask | show | jobs | submit login

YAML has a big problem in that you can't work with it in standard tools.

Most every common GCedlanguage these days supports native JSONlike object, YAML can represent things outside of strings, lists, dicts, bools, numbers, and null.

Lack of nested structure is a positive in some applications. Flat is better than nested. I've seen way too many config files where someone says "add foo=3" to the file and you can't even figure out where in the structure it goes.

And worse, sometimes people reorganize things into options. They'll move all the stuff for one subcomponent into its own nested thing, and you can't configure it without knowing the full architecture.

With flat stuff you get an obvious single way to represent any given config options. Maybe not the nicest way, but it's obvious and unique.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: