3 ms·
Why is no-JS so appealing to some people? Honest question, I wanna understand. Edit: by the replies what I understood is that people that dislike JS think the
by meiraleal 2y ago
Why is no-JS so appealing to some people? Honest question, I wanna understand.
Edit: by the replies what I understood is that people that dislike JS think the web is a medium exclusively to read? Apps should be desktop executables. Fair enough. It's a good thing this is a negligible % of internet users.
- Dalewyn 2y agoDownloads quicker, responds instantly, less load on system resources, no country mile wide attack vector.
- PaulRobinson 2y agoPage bloat is one reason, tracking/privacy-invading JS is a pest, but for me at least, my main problem is that most JS is used to break how people want to use the web. The web is a document-centric medium. I load a URL, I want to look at the document presented at that page. Things I likely don't want to do is deal with banners, pop-overs or other code grabbing my attention (if you don't show me a cookie banner you've done the right thing: not use cookies that aren't strictly necessary, thanks!). I probably don't want infinite scroll, "funky" animations or other stuff that tries to break the document medium. I think the only exception is if I'm looking at a document that wants to use an interactive chart, that's fine. Form validation might be helpful, but do you really need anything other than built-in HTML client-side validation?
- Y_Y 2y agoI like this explanation. If I was trying to be pithy I might rewrite it as something like: JS code is usually run by people I don't necessarily trust, for interests other than my own.
- ripe 2y agoIt's not because of a religious opposition to JS, but because usually Javascript-laden sites take a long time to load, require the latest hardware and browsers, and come with pop-up banners, third-party ads, and bloatware.
- Klonoar 2y agoI mean, no, “no JS” is pretty religious. What we need is a distinction of “low JS”, which is really what we had before we somehow grew an industry of JS framework mania. JS with fallbacks is a very useful and pleasant thing, JS powering the entire experience is - in most cases - not.
- karma_pharmer 2y agoThe problem is Turing-completeness. A consequence of Rice's Theorem is that there can never be a useful, enforced distinction between the garbagepile that we have right now and anything more than "no JS". Before WHATWG hijacked the web we had apps on the internet -- Flash, Java applets, etc. They had slightly more friction than ordinary webpages, which forced publishers to think hard about hey do I really need an app or can I do this with static HTML? Now maybe Flash and Java-applets aren't the best platforms for web apps, but the apps need to be kept separate from the documents, and there needs to be some small frictional cost imposed on publishers who choose the app route -- because otherwise all of them will choose it out of laziness.
- helpfulContrib 2y ago[dead]
- xemdetia 2y agoIn the olden times (e.g. 1999) you would write HTML by hand (notepad.exe) the same as people write markdown today. It then works as a single thing to move around, I don't need to bring a second thing with me so reorganizing simple HTML files is easy. So if I am just going to write a one off document HTML with images and tables was the easiest (see very many professor websites, geocities, angelfire, etc). Once org-mode became the better version of this because it could export plain HTML I shifted to that personally but if org-mode didn't exist I probably would still be writing HTML directly when it comes to just typesetting tabular data vs dealing with Word/Google docs tables. Automating writing HTML is also easy as you can just write to stdout directly, and if you are comfortable writing HTML by hand directly this is a simple uplift to automate things you did by hand. This is why jQuery was so popular because you could just add it in to this vanilla HTML in a nice way. You didn't have to stand up some JS scaffolding and toolchain to get there. Even jQuery can get you to a situation away from WYSIWYG because you don't just need to render the DOM you now have to have a JS runtime evaluation. In some contexts you have something that can write a DOM from HTML but you have no JS, it was only when chromium embedding became popular and normalized you got both the HTML and the JS together, for a long time you only got the HTML. Finally, direct HTML will work as-is forever but JavaScript is a moving target. Some terrible websites I wrote in raw HTML work today after 20 yrs (admittedly 1024x768 optimizations didn't age well) but many JS things I have written have not had that longevity or require standing up a long dead development framework to get going again.
- kjkjadksj 2y agoWhy send 100mb when the content is a paragraph of text? Its lazy and wasteful. Static sites are amazing. Pages actually load as fast as you’d expect them to given modern hardware and connections.