422
you are viewing a single comment's thread
view the rest of the comments
[-] SubArcticTundra@lemmy.ml 4 points 1 year ago

I think XML only makes sense if your data is heavily tree-like

[-] misterzero@lemmy.world 4 points 1 year ago

In that case, why not use JSON?

[-] Joe_0237@lemmy.ml 1 points 1 year ago

because you have a thing against solutions that are both beter and easier

[-] SubArcticTundra@lemmy.ml 1 points 1 year ago* (last edited 1 year ago)

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

this post was submitted on 15 Oct 2023
422 points (100.0% liked)

Programmer Humor

32445 readers
853 users here now

Post funny things about programming here! (Or just rant about your favourite programming language.)

Rules:

founded 5 years ago
MODERATORS