this post was submitted on 05 May 2025
48 points (94.4% liked)

Programming

19957 readers
243 users here now

Welcome to the main community in programming.dev! Feel free to post anything relating to programming here!

Cross posting is strongly encouraged in the instance. If you feel your post or another person's post makes sense in another community cross post into it.

Hope you enjoy the instance!

Rules

Rules

  • Follow the programming.dev instance rules
  • Keep content related to programming in some way
  • If you're posting long videos try to add in some form of tldr for those who don't want to watch videos

Wormhole

Follow the wormhole through a path of communities !webdev@programming.dev



founded 2 years ago
MODERATORS
top 14 comments
sorted by: hot top controversial new old
[–] MonkderVierte@lemmy.ml 2 points 1 hour ago* (last edited 1 hour ago)

Not to mention, more accessible.

[–] Vincent@feddit.nl 4 points 1 hour ago (1 children)

Note there's a group of users that larger than the group of users without JS (for whatever reason): users of assistive technology. And they don't even have a choice.

While I'm all for considering the needs of every user... If you get to the point where you're worrying about no-JS users, I hope you've already considered the needs of people with disabilities, whether temporary or permanent.

[–] Static_Rocket@lemmy.world 1 points 1 hour ago

Doesn't avoiding JS typically structure a website in such a way that the browsers built-in assistive services can cover it easier?

[–] MonkderVierte@lemmy.ml 1 points 1 hour ago

People should not be prioritizing no-JS users. No one turns off JavaScript.

If you keep the JS to a minmum, you have

  1. less work maintining that shit, HTML/CSS is patient
  2. better user experience

So much forms and textboxes don't save content anymore after a reload, because it's dynamically loaded from somewhere or even a frame handled entirely by JS. Buttons/Checkboxes that don't work, it's sad.

[–] termaxima@programming.dev 1 points 2 hours ago

Can confirm I’m one of those people with JS off and a pretty strict whitelist !

[–] tauren@lemm.ee 0 points 1 hour ago (1 children)

A lot of people who shared this sentiment were hung up on the idea that “no one turns off JS.” But some people do, for a variety of good reasons!

What % are we talking about? 50%, 25%, 10%, 1%, 0.1%? People make choices, but those are their choices. I need to get the job done and I can't cater to everyone's needs.

[–] MonkderVierte@lemmy.ml 1 points 1 hour ago

And who has to maintain it, not you?

[–] SpicyLizards@reddthat.com 12 points 5 hours ago

Sadly, the rise of frameworks and SAAS have really killed security and accessibility through enforcement of JS.

'Back in the day' performance, download size, backwards compatibility, and non-js functionality was expected. Now it's not even on the radar for most big corps/agencies. Many places I've worked don't even care about responsiveness, which is crazy.

Now, there are so many 25mb websites that are unusable without JS or the right device...

[–] Aatube@kbin.melroy.org 22 points 7 hours ago

The point is: a lot of people browsing your site will at least temporarily have a no-JS experience without intentionally doing so.

💯

[–] PunkRockSportsFan@fanaticus.social 31 points 8 hours ago (2 children)

JavaScript sucks. I hate using it I hate coding it.

I whitelist js sources on my personal computer.

Only absolutely necessary for function scripts get loaded.

If they ask me to disable the adblocker I blacklist the domain.

[–] mesamunefire@piefed.social 24 points 8 hours ago* (last edited 8 hours ago) (1 children)

I've done more than 18 years of dev work. I only hate js. All the other parts of the job are fine. Other languages are fine as well. I've had to learn so many. Hell I know cobol right along side ruby.

Js sucks. It sucks to debug. Its frameworks still have issues with basic stuff like many to many relationships.

All the solutions that don't use or use it sparingly work for years. The ones that rely on the language usually die a firey death by npm/yarn or get deprecated within 6 months.

[–] PunkRockSportsFan@fanaticus.social 14 points 8 hours ago (1 children)

Js frameworks make php frameworks seems stable efficient and logical by comparison.

Yikes.

[–] mesamunefire@piefed.social 7 points 8 hours ago

Modern day php and laravel is actually not terrible.

But yeah I agree with you.

[–] jjjalljs@ttrpg.network 2 points 5 hours ago

Javascript is like Dungeons and dragons. It's a mess, weighed down by legacy decisions, too heavy in some places and too light in others, and used in far more places than it should be. It also has some diehard fans, and some diehard fans who have never used anything else.