by unimpressive · 9y ago · 0 comments
- Machine readability. Graphics scraping is gross, but DOM is by default a machine parseable format.
- For web pages which are actual documents, it makes total sense and is in fact a pretty clean implementation of a document and styling system. Especially in comparison to stuff like Microsoft word's doc format. If you would like to dispute the point, I challenge you to design something better. You don't even need to implement it, just make a compelling design. Or link to somebody else who has.
Something would have appeared to handle the interactive aspects of the web. What makes you think it would have turned out better?
I'd say we should forget about the former, because ML techniques can extract semantics to a great extent. IMO, the DOM should be considered purely a layout tool.