Christopher Lemmer Webber is a user on octodon.social. You can follow them or interact with them if you have an account anywhere in the fediverse. If you don't, you can sign up here.

hot take i will absolutely not stand by in a few hours

xml is actually great, both to read and write, by humans and machines (at least as a subset of xml).

i kinda miss having xml everywhere

json awful to write and unreadable without indentation (counting the ]} )
yaml is far too complicated and intuitive for what it achieves
toml is nearly that but it's too flat, it's just not the same

@CobaltVelvet Also, XML is easy to grasp if you're not à developper. JSon is really obscur if you don't know JavaScript.

@Sylvhem @CobaltVelvet uh huh.... try explaining to a non-technical xml user why they can't have overlapping tags when annotating text ("<a>some text <b> some more </a> text but longer </b>")

@nightpool @Sylvhem why would they put a box half inside another box, half outside the other box

@CobaltVelvet @Sylvhem one xml tag is for marking lines of poetry, the other is for marking places referenced. how else would you do it?

obviously, *I* understand why this is a bad idea, but good luck explaining that to a mechanical engineering major trying to finish their humanities project

@nightpool @CobaltVelvet @Sylvhem one answer is that even hand-written xml should be used within tooling that clearly explains, highlights, and does not permit errors. nxml in emacs is a good example of this.

Christopher Lemmer Webber @cwebber

@nightpool @CobaltVelvet @Sylvhem but for the most part I think xml isn't very suited to hand-editing.

I do think it gets more hate than is fair. Plain json can often be much worse. But xml has serious problems... the inability to have insiginificant whitespace is one.

· Web · 0 · 0