XML is a superior format to Json or yaml or any of those other trendy formats around today. It’s the hill I’m willing to die on because I’m right.
I can only assume you’ve never tried to parse or read XML.
What’s better about it?
It makes you want to die on a hill
Fact. An unfortunate one, but still a fact.
From my point of view : it has a hudge ecosystem with tons of robust libraries. This does not make it perfect, but for an industrial point of view, you don’t look for new shiny clean things. (My point of view is 15 years old yet…)
I think JSON is more robust than XML by now. Mostly due to its simplicity. There are few reasons why anyone would pick XML over JSON these days.
JSON, which has been around since 01, is trendy?
Something being “old” is totally unrelated to whether it’s trendy. See: virtually every food and fashion trend.
Trendy also isn’t the same as popular or preferred.
Ah, alright. Trendy does have a negative connotation with it as well; as opposed to “established” i.e. this trend will pass. Also, note the addition of “data formats that are around today” is clearly a jab at the age of JSON and nothing else.
Saying the data format that’s easier to work with and parse while being nearly as old is trendy, is kinda disingenuous, no?
Uh-huh… ever tried to integrate with a poorly implement WCF service? Like communication from a Java service to a dotnet service through a WSDL?
I’ll take a json API over XML any day
I’m not sure that’s the fault of XML though.
It’s more the fault of the implementation and documentation.
We have a WCF service with an odd configuration and nobody has been able to integrate with it that didn’t use Microsoft tools. It’s definitely not XML’s fault.
(That service has been replaced with a REST API now)
It’s more the fault of the implementation and documentation.
Yea sure. Though it’s slightly XMLs fault for allowing that kinda implementations. Every random thing is in it’s own obscure namespace with 20 levels of nested objects in different namespaces, and if you get anything wrong it barely explains what’s wrong, and just refuses to work.
It’s mostly WCFs fault. I just automatically associate XML with nightmare flashbacks of implementing WCF stuff
As someone who works with both, readability is the utmost important thing for me, and XML is cumbersome and has more characters to sift through to find what I’m lookin for.
I don’t miss XML, but at least it has support for comments. On the other hand, I wish whitespace in XML wasn’t significant. JSON needs to die in favor of JSON 5.
deleted by creator
Nah, XML is just a slightly older fad. Let’s go back to S Expressions. They’ve been in use for over 60 years and have significantly better readability.
RSS is what we had before algorithms that just pick adverts and far right fuckery.
Legit we should go back
Json is superior and thats a hill im willing to die on
(YAML has entered the fight!)
(Edit: incidentally, I’m not saying YAML is the best. JSON is possibly the one I hate thr least. But I do hate them all!)
All JSON is valid YAML
Norway
NO what?
I am so old that I worked with SGML. Compared to that, XML is a lovely language. And sometimes I still miss writing XSLT to quickly transform some XML documents. These days you can do similar things with JSON, of course. But it’s not as easy and standardized as the XML tooling.
Reddit support to the rescue…
Lol this is actually true.
This seems like a weird answer to the question, though.
imo, it’s fake as it’s a “wate of time”
I’m struggling with it right now