Every story and comment from the Hacker News API, in a layout borrowed from 2001.
A comment on TOML – Tom's Obvious, Minimal Language. Parent comment
There's plenty of room for debate, e.g. element versus attribute and things get unwieldy pretty quickly [1]
The "note"-example illustrates the issue quite well: the order of the elements matters and you end up writing every element identifier twice.
Not to mention the bloat that comes with using an XML library that's actually compliant with the standard and includes all the bells 'n whistles.
[1] https://www.w3schools.com/XML/xml_dtd_el_vs_attr.asp
There are no comments on this comment yet.
There's plenty of room for debate, e.g. element versus attribute and things get unwieldy pretty quickly [1]
The "note"-example illustrates the issue quite well: the order of the elements matters and you end up writing every element identifier twice.
Not to mention the bloat that comes with using an XML library that's actually compliant with the standard and includes all the bells 'n whistles.
[1] https://www.w3schools.com/XML/xml_dtd_el_vs_attr.asp