by bluedevil2k · 8y ago · 0 comments
JS can be used to enhance the experience, and even build things otherwise impossible in the browser, and it's totally justified. But taking the newest, shinest web application framework and turning what's a tree of regular web documents into a web application, with data unaccessible if you don't run the entirety of its JS? That's just wrong.
The protocol you describe, just a bare tree of text links, already exists as Gopher. People mostly stopped using that.
If you use the right parts of the stack for the right things, the result is a lean, accessible and interoperable piece of software. That's what the Internet was designed for. Alas, few people care, and in particular, interoperability is actively being opposed.
RE the toilet example, current webdev is more like refusing to build toilets in apartments and instead building them into car seats, because it's 2018, everyone has a car and a driver's license (or, rather, everyone in the population we want to monetize).
Or maybe even making all kinds of interactive, surprising and unhygienic features on the toilet?
Some things should be simple and just work. They should work in a predictable manner and in a way that minimises risk for the users.
FWIW it takes less developer time to make a decent website without Javascript.
Javascript also introduces risks that are non existent in static pages.
Now if theese JS sites were super snappy and worked well offline etc I'd say probably wort it.
But I guess they are often worse that a plain old web page.
- someone who has created static and dynamic webpages since late last millenium
This benefits more than just one tiny group of users: it might also aid disabled users and accessibility software (not to mention the developers of that software), security nuts, people who turn js off to improve performance on low-spec machines (it's 2018 here, but more than a few countries have a four (or even three!) figure GDP/capita, so their machines aren't going to be 2018 machines. This is just off the top of my head, how many other groups might there be that would benefit?
So now they have more code, more to test, qa is more difficult, more surface area for bugs, etc.
Adding features isn't easier to maintain.
JS is the technology responsible for most of the malware infections and spyware ad-tracking. It's not like people disable it just to piss off developers, there are very good reasons to turn it off.
While I agree that JS is part of the malvertising problem but this statement is blowing things to an exaggeration. Chrome, Firefox and Safari are equally responsible for the infection that occurs because of JS.
Can you give a source for that?
I keep asking for it and never had any good response. The best I have found is that it helps show phishing. A link that said "Install me" and trigger the download of an executable when you click on it doesn't make HTML responsible for malware infections.