66
The lost art of XML — mmagueta
(marcosmagueta.com)
Welcome to the main community in programming.dev! Feel free to post anything relating to programming here!
Cross posting is strongly encouraged in the instance. If you feel your post or another person's post makes sense in another community cross post into it.
Hope you enjoy the instance!
Rules
Follow the wormhole through a path of communities !webdev@programming.dev
Yaml
Yaml is dogshit format. If you need tree-like structure use json if you need list of props use toml or simple key value pairs. I fucking hate app properties in yaml.
It should’ve never left the basement of crackhead who thought “let’s make schema-less format depend on number of invisible characters”.
I’ll rather save my data in Copybook and record it on tape then use this Python-bastardized abomination
Oh nice! I didn'tknow toml, so I looked it up a bit. Atfirst I was like "this is just .properties with a better typing support". Than I saw the tables and the inline tables, which is a really neat way for complex nesting. It reminds me of json, but better. I'll see if I can start using this somewhere.
Meanwhile, XML crying in the corner.... 😄
Fuck yaml. TOML or literally anything else.