The whole web is evil then. Hacker news has JavaScript for simple upvote buttons, is it also evil?
BTW hackernews requires javascript for collapsing threads, despite it can be achieved with checkbox/css or with the summary element. The reddit frontend teddit used it, and it worked really well. HN is basically the same as reddit, so it would work really well for HN too.
I’m not necessarily agreeing with the OP, but I can understand their point without naively misconstruing it.
In contrast, this is less evil: https://www.gnu.org/software/librejs/
But as usual, nobody really cares because it’s also useful and convenient, even if there’s a bunch of ad crap and fingerprinting and tracking and other stuff, basically taking away more and more control over how you want to consume the contents of a site, same as DRM.
Contrast that to a static site (or a server side rendered one to a lesser degree) which is more like a newspaper - if you have it, you can read it, cut out bits that you’re interested in, stash them away for safe keeping etc.
The more nuanced answer is that most technologies aren’t inherently evil or good but it depends on how they’re used. Even then the answer still leans towards “yes”.