3 ms·
> It will leave you yearning for the return of XHTML. …or be grateful you can just use an existing HTML5 parser that hides all this stuff to your innocent eyes
by jraph 9mo ago
> It will leave you yearning for the return of XHTML.
…or be grateful you can just use an existing HTML5 parser that hides all this stuff to your innocent eyes :-)
- notnullorvoid 9mo agoGrateful in part, but I can't help to think that if there was refusal to build parsers for an outlandish spec in the first place then we'd have fixed the problem by now. Using existing parsers only hides the poor design up to a point.
- jraph 9mo agoI'm conflicted on this. I mostly agree with the sentiment, I'd rather have simple parsers and sensible specs, but I'm also happy they do whatever it takes not to break anything (well, they are breaking XSLT…)
- yomismoaqui 9mo agoNowadays you can use AI to write the parser, so it's the machine the one that suffers I guess. https://friendlybit.com/python/writing-justhtml-with-coding-agents/ https://friendlybit.com/python/writing-justhtml-with-coding-...