3 ms·
YAML 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 b
by dasil003 13y ago
YAML 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