6 ms·
> TOML/YAML is significantly better than XML, hence why almost every modern app uses YAML for configs. Personally I find YAML to have a false sense of cleanlin
by Lammy 5y ago
> TOML/YAML is significantly better than XML, hence why almost every modern app uses YAML for configs.
Personally I find YAML to have a false sense of cleanliness. Sure it looks a lot "more readable" than XML until you mess up the syntax/indentation and end up with dictionary keys a level up/down from where you intended. The list-of-dicts syntax is particularly gross to me, e.g.
models:
- model: "a"
type: "x"
- model: "b"
type: "y"