Live data from Hacker News

JavaScript broke the web (and called it progress)

jonoalderson.com

31–40 of 171 posts

Re: JavaScript broke the web (and called it progress)

#31
post #7

Saying JS broke the web when your website loads 754kB of JS across 13 separate requests makes me wonder if you're very serious about the problem.

Well, it's just wordpress and captcha can only be done in js (half the requests).

Why does a blog post need a captcha?

Re: JavaScript broke the web (and called it progress)

#32

Rose colored glasses at their finest. I think this person has forgotten what the web was like 15 years ago. I suggest they visit some Japanese websites to find out.

Hey now… Japanese websites are the future (especially tablecheck.com!)

Re: JavaScript broke the web (and called it progress)

#33

Rose colored glasses at their finest. I think this person has forgotten what the web was like 15 years ago. I suggest they visit some Japanese websites to find out.

I noticed this with the line "Around 2010, something shifted. The iPhone was ascendant. Native apps were sleek, fast, fluid."

When the iPhone was first released, the experience was much worse than today's web experience. Sure apps/native also got much better, so 15 year ago webs were worse than today's apps, but that's not a fair comparison.

Re: JavaScript broke the web (and called it progress)

#36
While I don't agree with other points, things got clearer once I reached the following:

> Marketers, content editors, SEOs, designers – they’re all locked out of the process. Because now, even simple tasks require technical fluency.

I worked in web development in the 2000s and then restarted in 2020s. The power of the tools, the speed of development and the result are all much better. The downside? You need to know more (because you can do more and some required things are more complex and people expect more) and less people might be required (ok, this is a downside for some people only...).

Why are we talking about some megabytes transferred nowadays? Most of us have in our pockets a computer 100 times stronger than the first one that beat a human at chess (not to mention that one was occupying rooms). It is more important to have the flexibility and to be able to scale complexity when you need to (hard and not given even with the frameworks), than to "save" some megabytes.

Re: JavaScript broke the web (and called it progress)

#37
Although I agree that JS is being used incredibly irresponsibly, I also think this article is almost certainly AI-generated with minimal editing based on the way it reads, and I wish that wasn't the case because the topic deserves better than this.

[Edit: Although I recognise that em dashes are what a lot of people use to identify AI-generated text, that isn't what I was doing here. I hadn't even been considering them, to be perfectly honest.]

Re: JavaScript broke the web (and called it progress)

#38

> The result? Broken back buttons. Image bloat. Inaccessible markup. URLs that don’t behave like URLs. Metadata that disappears. Content you can’t copy. Buttons you can’t keyboard to. Modals that trap you. Scroll positions that reset for no reason. Headlines that shift mid-read. Analytics that don’t match reality. Preview environments that lie. And pages that load… eventually. -- None of that is the fault of Javascri…

The problem is that getting those things right is 4x more difficult in a SPA app than a legacy, server rendered, app.

- No native back and forward button implementation. Now you must listen to an API and emulate the legacy behaviour.

- The concept of links, its also emulated via onClick events. This means that anything can be a link, so in many cases rows become links and their content is not really selectable as text. Legacy HTML has clear limitations for this not to happen.

- Same with buttons. There are no native buttons anymore. Anything can be a button, including any DIV with an event listener. Good luck tabbing through every DIV to get you to a button, that's also another difficult implementation.

Post reply on HN