Click here to Skip to main content
15,892,161 members

Welcome to the Lounge

   

For discussing anything related to a software developer's life but is not for programming questions. Got a programming question?

The Lounge is rated Safe For Work. If you're about to post something inappropriate for a shared office environment, then don't post it. No ads, no abuse, and no programming questions. Trolling, (political, climate, religious or whatever) will result in your account being removed.

 
GeneralRe: Why is XML? Pin
KarstenK12-Jan-21 7:22
mveKarstenK12-Jan-21 7:22 
GeneralRe: Why is XML? Pin
Greg Utas12-Jan-21 7:28
professionalGreg Utas12-Jan-21 7:28 
GeneralRe: Why is XML? Pin
kmoorevs12-Jan-21 10:41
kmoorevs12-Jan-21 10:41 
GeneralRe: Why is XML? Pin
trønderen12-Jan-21 11:05
trønderen12-Jan-21 11:05 
GeneralRe: Why is XML? Pin
Mycroft Holmes12-Jan-21 11:51
professionalMycroft Holmes12-Jan-21 11:51 
JokeRe: Why is XML? Pin
Daniel Pfeffer12-Jan-21 21:08
professionalDaniel Pfeffer12-Jan-21 21:08 
GeneralRe: Why is XML? Pin
hevisko12-Jan-21 19:53
hevisko12-Jan-21 19:53 
GeneralRe: Why is XML? PinPopular
Member 1036240612-Jan-21 19:56
Member 1036240612-Jan-21 19:56 
Maybe I’m biased because I’ve been working with XML since it was invented, but I love it. My experience with it predates object serializers and whatnot, and I still find it simpler to roll my own much of the time to ensure that the output properly expresses the object’s purpose and usage.

I use JSON for transport where appropriate, such as pulling data into a Vue app, but whenever I need to model data in JSON, I quickly lose patience. The absence of a named root node, namespaces, and attributes leads to a pretty weak representation of the facts that does a poor job of conveying the designer’s intent.

Some have argued on this thread that XML is a binary format and not for human consumption, but I would much rather be given some XML to interpret than a bunch of JSON if I am tasked with querying the data. And a named end tag is pretty handy; not a fan of counting curly brackets!

Of course, XML is supported by a suite of very mature standardized tools, the likes of which simply don’t exist in the JSON world yet.
Cheers,

Keith

GeneralRe: Why is XML? Pin
Chris Maunder13-Jan-21 3:41
cofounderChris Maunder13-Jan-21 3:41 
GeneralRe: Why is XML? Pin
Sr_Dogmeat13-Jan-21 5:07
professionalSr_Dogmeat13-Jan-21 5:07 
GeneralRe: Why is XML? Pin
UsernamesAreHard12-Jan-21 19:57
UsernamesAreHard12-Jan-21 19:57 
GeneralRe: Why is XML? Pin
Member 1495125812-Jan-21 20:26
Member 1495125812-Jan-21 20:26 
GeneralRe: Why is XML? Pin
xlg12-Jan-21 20:39
xlg12-Jan-21 20:39 
GeneralRe: Why is XML? Pin
Kiriander12-Jan-21 21:05
Kiriander12-Jan-21 21:05 
GeneralRe: Why is XML? Pin
Mathieu Cartoixa12-Jan-21 21:26
Mathieu Cartoixa12-Jan-21 21:26 
GeneralRe: Why is XML? Pin
LesCooper12-Jan-21 21:38
LesCooper12-Jan-21 21:38 
GeneralRe: Why is XML? Pin
Steve Naidamast13-Jan-21 4:45
professionalSteve Naidamast13-Jan-21 4:45 
GeneralRe: Why is XML? Pin
Joseph T. Adams13-Jan-21 5:04
Joseph T. Adams13-Jan-21 5:04 
GeneralRe: Why is XML? Pin
Steve Naidamast13-Jan-21 5:26
professionalSteve Naidamast13-Jan-21 5:26 
GeneralRe: Why is XML? Pin
Joseph T. Adams13-Jan-21 5:31
Joseph T. Adams13-Jan-21 5:31 
GeneralRe: Why is XML? Pin
Sr_Dogmeat13-Jan-21 4:50
professionalSr_Dogmeat13-Jan-21 4:50 
GeneralRe: Why is XML? Pin
dandy7213-Jan-21 5:11
dandy7213-Jan-21 5:11 
GeneralRe: Why is XML? Pin
Chris Maunder13-Jan-21 6:16
cofounderChris Maunder13-Jan-21 6:16 
GeneralRe: Why is XML? Pin
dandy7213-Jan-21 8:38
dandy7213-Jan-21 8:38 
GeneralRe: Why is XML? Pin
davercadman13-Jan-21 5:19
davercadman13-Jan-21 5:19 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.