top | item 34351216

(no title)

kevinyew | 3 years ago

There is nothing about HTML/CSS/JS that prevents simplicity. It is purely how it has been used and abused. You can also disable JS and use user agent stylesheets in any modern web browser.

discuss

order

jamil7|3 years ago

> There is nothing about HTML/CSS/JS that prevents simplicity

You're right, there isn't yet here we are. Where I need to download and run a React program every time I want to read an article.

shadowgovt|3 years ago

It would be great if React could be built directly into browsers, but it would greatly curtail the current flexibility of server-vended React. The project is able to evolve quite quickly unshackled from a w3c process and the pulse of major browser updates.

(IIUC, there was a proposal in Firefox decades ago to make the engine into several flexible modules and a page could declare which modules it depended upon, then the browser would either cache them and use them for multiple sites or already have them builtin. You'd get the best of both worlds: rich and expressive pages without the frequently-paid cost of poly-filling the gap between how the developer wants the render engine to work and the actual implementation of the render engine.

Sadly, I suspect the actual complexity to implement would have made for a worse overall situation than what we have now).

tolciho|3 years ago

Where is the button to enable JavaScript? For reasons of simplicity, resource use, and security JavaScript should be disabled by default. But there ain't that button, it's complicated.

Where is the security? Chrome last I checked had eight actively exploited zero-days last year, which is laughably bad compared to the other operating system I use. Perhaps if the modern web was simpler, a browser would be easier to implement, and more time could be spent on making it not a raging security dumpster fire? But it ain't, it's complicated.

How does one even setup user agent stylesheets? What could that be but yet more complexity? Meanwhile, I'll use w3m and amfora and if it's a broken page that mandates Flash, JavaScript, whatever, I most likely won't bother launching a "heavyweight champion" browser. The CPU fans will last longer that way.

rollcat|3 years ago

You can read a book on your tablet / laptop, or even watch a movie adaptation; or you can read a book on dead trees. Some people would like to recreate certain aspects of the "dead tree" experience without actually killing trees.

Psychoshy_bc1q|3 years ago

use a dedicated ebook reader.

_def|3 years ago

While it doesn't prevent simplicity, it allows and enables distracting complexity. Also a lot of sites just break if you disable js.