2 ms·
YAML is a much better choice than the two you suggested. "rc file"s have no defined format, and json is a poorer choice than YAML. I loathe ruby and still use
by sneak 13y ago
YAML is a much better choice than the two you suggested.
"rc file"s have no defined format, and json is a poorer choice than YAML.
I loathe ruby and still use Jekyll because I never have to touch ruby code to use it. I use it specifically _because it is dead simple_.
You're making stuff up.
- dasil003 13y agoYAML is okay when used in a simple manner such as for a basic configuration file, but it has a seriously fucked up spec with all kinds of landmines waiting to blow your legs off. If you aren't generating your YAML with @ruby_object.to_yaml then sooner or later something bad will happen to you. That's why I prefer TOML. I wish more projects would pick it up for config. https://github.com/mojombo/toml https://github.com/mojombo/toml
- MatthewPhillips 13y ago> "rc file"s have no defined format Why does that matter in this case?