this post was submitted on 08 Sep 2024
1236 points (98.2% liked)

Programmer Humor

32588 readers
1784 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
[โ€“] [email protected] 1 points 2 months ago (1 children)

Of course you can use XML that way, but it is unnecessarily verbose and complex because you have to make decisions, like, whether to store things as attributes or as nested elements.

I stand by my statement that if you're saving things to a file you should probably use XML, if you're transferring data over a network you should probably use JSON.

[โ€“] [email protected] 9 points 2 months ago* (last edited 2 months ago)

[This comment has been deleted by an automated system]