this post was submitted on 15 Oct 2023
399 points (94.4% liked)

Programmer Humor

31998 readers
298 users here now

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

Rules:

founded 5 years ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[–] dan@upvote.au 23 points 11 months ago (6 children)

This reminds me of Apple plist files, which appear to have been invented by someone that doesn't know how XML works.

[–] Diplomjodler@feddit.de 9 points 11 months ago (4 children)

Which is true for the majority of all XML files I've ever come across in the wild.

[–] SubArcticTundra@lemmy.ml 4 points 11 months ago (3 children)

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

[–] misterzero@lemmy.world 4 points 11 months ago (2 children)

In that case, why not use JSON?

[–] SubArcticTundra@lemmy.ml 1 points 11 months ago* (last edited 11 months 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

[–] Joe_0237@lemmy.ml 1 points 10 months ago

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

load more comments (1 replies)