Re:Libvirt – The Unsung Hero of Cloud Computing (2013)
by eska on Friday September 04, 2020 @05:24AM
(#24373253)
Yaml is generally derided as too complex and transforming data in unintended ways.
I see a lot of Rust programmers preferring RON over TOML because it is much less complex and doesn't have multiple ways to express the same thing https://crates.io/crates/ron
Re:Libvirt – The Unsung Hero of Cloud Computing (2013)
by bbotond on Friday September 04, 2020 @06:34AM
(#24373679)
I hate YAML. XML and JSON have syntaxes that are very easy to learn. You basically see one example and know 99% of what you need. YAML has multiple ways of doing the same thing (eg. two array syntaxes) and is generally too "clean" looking to the point of being unreadable.
For more general data structures, remember that JSON is a true subset of YAML [1]: Switch to a YAML parser and you can start optionally adding comments to your files while still being compatible with legacy input.
[0] https://toml.io/en/ [1] https://yaml.org/