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
I love XML, when it is properly utilized. Which, in most cases, it is not, unfortunately.
JSON > CSV though, I fucking hate CSV. I do not get the appeal. "It's easy to handle" -- NO, it is not. It's the "fuck whoever needs to handle this" of file "formats".
JSON is a reasonable middle ground, I'll give you that
Biggest problem is, CSV is not a standardized format like JSON. For very simple cases it could be used as a database like format. But it depends on the parser and that's not ideal.
Exactly. I've seen so much data destroyed silently deep in some bioinformatics pipeline due to this that I've just become an anti CSV advocate.
Use literally anything else that doesn't need out of band “I'm using this dialect” information that has to match to prevent data loss.