this post was submitted on 15 Oct 2023
400 points (94.4% liked)
Programmer Humor
32380 readers
1382 users here now
Post funny things about programming here! (Or just rant about your favourite programming language.)
Rules:
- Posts must be relevant to programming, programmers, or computer science.
- No NSFW content.
- Jokes must be in good taste. No hate speech, bigotry, etc.
founded 5 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
Which is true for the majority of all XML files I've ever come across in the wild.
I think XML only makes sense if your data is heavily tree-like
In that case, why not use JSON?
JSON spreads out tree nodes vertically (with all the attributes), whereas in XML it's usually one node per line, ie. more compact I suppose. This is just my very niche opinion though
because you have a thing against solutions that are both beter and easier