- cross-posted to:
- webdev@programming.dev
- lobsters@lemmy.bestiver.se
- cross-posted to:
- webdev@programming.dev
- lobsters@lemmy.bestiver.se
There exists a peculiar amnesia in software engineering regarding XML. Mention it in most circles and you will receive knowing smiles, dismissive waves, the sort of patronizing acknowledgment reserved for technologies deemed passé. “Oh, XML,” they say, as if the very syllables carry the weight of obsolescence. “We use JSON now. Much cleaner.”


XML is not great for user interfaces at all.
Eh, I don’t think it’s the be-all and end-all of describing user interfaces, but it deals well with the deep nesting that UIs generally have, and the attributes allow throwing in metadata for certain elements, which is also something you frequently need in UIs.
At the very least, JSON, YAML, INI and TOML would be a lot worse.
Well, from my experience working with android xml guis is soul crushing. While QML is much more pleasant, and it is kinda like json, but not quite.