Re:Things I Don't Like in Configuration Languages
by scuff3d on Monday November 17, 2025 @10:23PM
(#45961055)
I don't get why so many people hate XML. I'd rather us it than YAML.
[ Parent
| on HN ]
Re:Things I Don't Like in Configuration Languages
by maxldn on Tuesday November 18, 2025 @03:21AM
(#45962670)
I’ve often wondered the same. The op doesn’t go far beyond:
> The era of XML is in the past.
Which is about as deep as it seems to get. My suspicion is that the reason people don’t like it is because it’s a bit of a pain to work with in JavaScript
Re:Things I Don't Like in Configuration Languages
by HelloNurse on Tuesday November 18, 2025 @04:28AM
(#45963073)
More generally XML is so thoroughly out of fashion that it is perceived as driving resume-driven architecture backwards in time, into an unfamiliar "dark age" of deliberate engineering decisions.
Re:Things I Don't Like in Configuration Languages
by kccqzy on Tuesday November 18, 2025 @10:57AM
(#45967947)
XML has a DOM API. And most people use JavaScript in a browser to manipulate the DOM. So I would say among all the language it should be the JavaScript devs that are the most proficient at the DOM API.
Once you have learned the DOM API, it’s pretty much universal. Things like Document.getElementsByTagName not only work in JavaScript but also in Python: https://docs.python.org/3/library/xml.dom.html#xml.dom.Docum...