Hacker News new | ask | show | jobs
by sp332 3109 days ago
You can't download the entire internet. And loading a new web page every time you push a button is slow.
2 comments

Not in practice, given that in reality of this use case, JS code also does network requests, which tend to be at least as slow as downloading a HTML page.

That said, what I meant is modern JS enabled moving into the web things that should have stayed local. It's literally two step backwards (moving software into "the cloud") and one step forward (giving back some responsiveness through AJAX).

For some reason the web feels a lot faster when I disable JS...
I can make an application as fast as you want if it doesn't have to run correctly.
Most of the time when you put JS on your page, what you're doing is breaking the thing that would - without JS - still correctly do what it's actually supposed to do.
"Most of the time"? Citation needed.

While I generally agree with the sentiment of "do more by coding less", and minimalist user interfaces, there are plenty of cases where you throw a whole lot of functionality out the window by outright banning JS.