|
|
|
|
|
by wtbob
3411 days ago
|
|
> Given that popular uses for the Web today include social networking, e-commerce, web apps, and online access to services like banking, I think the idea that sites should just display static information and should work better without JS and cookies is at least a decade out of date. Do you realise that every item on your list wasn't just possible but flourished without JavaScript, and works fine without third-party cookies? JavaScript is a cancer on the web, a metastasised extension language which is swallowing up what was a thriving hypertext infrastructure. |
|
No, I don't realise that at all.
Imagine how tedious it would be even to use a relatively simple discussion forum like HN if you had to wait for a full page reload every time you hit a voting button or expanded/contracted a thread.
That's about as simple an interaction as you can get, but there are countless other simple examples where JS-based interaction is much more responsive and easier to use than a round-trip to the server. Think real-time form validation, for example.
At the more complicated end of the spectrum, how exactly would you implement a web app like, say, a spreadsheet, without any client-side interaction?
JavaScript is ... swallowing up what was a thriving hypertext infrastructure.
Sure it was, 20 years ago, but the technology has evolved to serve new purposes, as technologies do. The Web of 2017 is unquestionably far more useful for far more people than the Web of 1997, and the interactivity offered by JS is a significant contributory factor.