← Back to context

Comment by alternatex

2 days ago

Perhaps the amount of JavaScript used in a website is not a contributing factor into how usable a person finds it /s.

Honestly, you don't judge a back-end by how much code it's built with or what platform it's hosted on. I don't get the obsession people have with JavaScript used on websites. Websites with terrible UX often abuse JavaScript yes, but correlation != causation.

It’s because they can see it.

They can go in the inspector and see “oh wow so many MBs of JS”, but they can’t see the backend.

There is a good point to that: this data that is downloaded is an end user resource. Over a mobile network etc it’ll matter. But the days where it mattered at home/office are long, long gone, at least for the audience of the websites that adopt this strategy.

The obsession I believe is a remnant of these old days. There was a transitionary period still a decade ago (when hn was already not that young) where users would spend time loading a website, then complain about the amount of js on the page and how that is unnecessary. The connections got upgraded but nothing strikes down a habit…

  • More like they can see it but also can't see it. There's megabytes of JS loaded just to show me a crappy glorified PDF that doesn't even work properly. A page I could have literally made using only HTML and CSS and it would be better, but somehow you've made it take 11mb of JavaScript code and it doesn't even work properly. That's the kind of website I scoff at.

    I have no issues at all with this website. It's awesome. I mean it's a bit slow but that's probably because it's on the front page on HN right now - yet it still works pretty well. The design is delightful. Incredibly well done. One of the coolest websites I've seen. Who cares how much JS it takes, it's obviously worth it.