119
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
this post was submitted on 09 Dec 2025
119 points (100.0% liked)
Linux
10565 readers
300 users here now
A community for everything relating to the GNU/Linux operating system (except the memes!)
Also, check out:
Original icon base courtesy of lewing@isc.tamu.edu and The GIMP
founded 2 years ago
MODERATORS
Out of curiosity, why do you consider XML unpleasant to work with?
Not the one you asked, but I don’t like XML compared to alternatives like JSON.
The main problem with XML is that it’s an unnecessarily complicated standard. There are often multiple ways to represent the same thing, each with their own gotchas and drawbacks.
JSON on the other hand has a much simpler standard. The entire JSON standard fits easily in one page. It’s also closer to how data is actually represented in memory. There’s often one ideal way to represent whatever you have in memory to a JSON file, and the reverse is also true.
Despite it’s simplicity, JSON covers most cases XML would cover. Often in a more elegant way.
If you like pain, then XML is the right choice for you.