XML < YAML < TOML
noyaml.com
Comment on Everything about TOML format - Orchard Dweller
matcha_addict@lemy.lol 9 months ago
Why would one pick toml over yaml?
XML < YAML < TOML
noyaml.com
Perhaps they’re Norwegian.
Significant whitespace is the devil’s play thing.
corsicanguppy@lemmy.ca 9 months ago
Xkcd 927?
gornius@lemmy.world 9 months ago
What?
It’s simple and readable. You literally put somebody that has never coded in their life, show them the YAML file and they will probably get it.
In Toml there are too many ways to do the same thing, which I don’t like. Also unless you know it deeply, you have no idea how the underlying data structure is going to look.
eager_eagle@lemmy.world 9 months ago
ha
63 different ways to write multi-line strings in YAML
BarrierWithAshes@kbin.social 9 months ago
Wow. I've never used yaml or even looked at it but damn that is horrid. Why do people even use this? JSON and XML are so better.
matcha_addict@lemy.lol 9 months ago
Yaml is already pretty popular, so I don’t think 927 applies here. It’s actually more common in newer projects than toml.
Which begs the question, should I go with the flow or is there good reason to go with toml?