3 ms·
Articles that develop a "change everything I dislike instead of changing my own mindset" mindset are always interesting reads, because while I can agree with th
by d-lisp 3y ago
Articles that develop a "change everything I dislike instead of changing my own mindset" mindset are always interesting reads, because while I can agree with them I can also disagree and from there I want to propose something else.
We have tools that allow us to develop UIs, we tend to be tired of their fake or true differences, but I honestly fail to design and implement something better.
In the end, one could ultimately say "DOM is the wrong abstraction" but that's kind of weird to me; a tree is almost the perfect representation of a document and even when I dislike xml like representations I often implement stuff that allow me to express documents under the form of a forest and in the end I have a tree-like representation of a document written in whatever "language" I want (an object, an array of objects, JSON, org-mode) and a tool to translate this representation into components and ultimately into html.
TL;DR : Tree like representation is a good way to describe a document, if you don't like html, you still can implement a medium that allow you to express it via another set of abstractions.