Comment

Comment by evnix

Yeah it's interesting how XML/XHTML was both data and presentation, we completely gave that up for a much inferior JSON format.

Most of this was due to the overuse of XML, but it seems we are heading in that direction with either JSON or YAML everywhere these days.

The usual complaint is XML is bloated, but it is really how you write it,

{ "Name":"John", "age":20}

Vs

<name="John" age="20" />

and XML gives you both types and presentation with DTD and XSLT

parent evnix 3 years ago

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton