News for hackers. Stuff that matters.
Re:XML is better than YAML by appplication on Thursday September 21, 2023 @12:23AM (#37593198)
The problem is that xml just isn’t particularly human readable. I don’t think there’s more to it than that. The brackets just make it overly verbose and difficult to read at a glance.
Re:XML is better than YAML by jimmaswell on Thursday September 21, 2023 @12:54AM (#37593370)
I find it very easy to read. The additional structure only helps. Why does anyone have a problem reading XML?
Re:XML is better than YAML by kumarvvr on Thursday September 21, 2023 @01:01AM (#37593399)
I have heard this again and again. But to me, well formed XML is incredibly easy to read and skim.

I don't feel the same ease with JSON or YAML though.

Re:XML is better than YAML by Aeolun on Thursday September 21, 2023 @01:32AM (#37593550)
> I don't feel the same ease with JSON or YAML though.

I imagine the same is true for people that don’t like XML. There’s just many more people that find it easy to read JSON, even though there are a few that find it easy to read XML.

Re:XML is better than YAML by dmje on Thursday September 21, 2023 @01:35AM (#37593571)
Yes! I find JSON so, so hard to read compared to XML. I thought I was the only one :-)
Re:XML is better than YAML by wokkel on Thursday September 21, 2023 @02:57AM (#37594078)
Your not alone: it's verboden requiring " around anything that is a string. Commas to separate array elements. It's a technical format without the technical foundation. It's the civil engineering equivalent of building the Golden Gate Bridge out of wooden beams as that is what you have, not what you need.
Re:XML is better than YAML by pjmlp on Thursday September 21, 2023 @03:13AM (#37594191)
You are not alone.
Re:XML is better than YAML by sparrowInHand on Thursday September 21, 2023 @07:10AM (#37595959)
This. It dances in front of the readers eyes, turning into unreadable gibberish. Json is how you would draw a datastructure on a chalkboard.
Re:XML is better than YAML by kllrnohj on Thursday September 21, 2023 @10:00AM (#37597747)
It's the same syntax shape as HTML and React's JSX, yet rarely do people complain about how "unreadable" they are?
Re:XML is better than YAML by xigoi on Friday September 22, 2023 @08:42AM (#37611254)
HTML is not a configuration format. Tags are fine for text markup.