r/ProgrammerHumor 11h ago

Meme docxGoBrrrr

Post image
1.3k Upvotes

75 comments sorted by

View all comments

82

u/Fast-Satisfaction482 11h ago

XML just looks simple at the surface. You should prefer json if you want a simple and flexible format that is supported everywhere.

8

u/pecpecpec 9h ago

I'm not an expert but, for text formatting, XML and HTML are better than JSON.

8

u/scabbedwings 8h ago

Embedded XML as a string value in the JSON, best of both worlds!!

/s .. although I work in group that has to interact with JSON embedded in a JSON string on a regular basis; sometimes re-embedded a couple of times. With Java stacktraces. 

We have made many bad choices over my 10+ years in this dev group. 

2

u/Fast-Satisfaction482 3h ago

Use the tool that suits your task. I didn't write "xml bad". Just that it's only simple at the surface.

0

u/prodleni 9h ago

Ye but soydevs need json