128
submitted 6 months ago* (last edited 6 months ago) by testeronious@lemmy.world to c/programming@programming.dev
you are viewing a single comment's thread
view the rest of the comments
[-] FlorianSimon@sh.itjust.works 4 points 6 months ago

Is that still a valid argument in 2024? The standard library has grown since the leftpad scandal. JS does have standard leftpad now.

It's a genuine question, I no longer write Javascript for a living.

[-] Jesus_666@feddit.de 8 points 6 months ago

Compared to other languages it's still very barebones – but admittedly some of the bloat is also because the JS world is kinda set in its ways. I still see people use jQuery for basic selector queries and SASS for basic CSS variables.

Another factor is that developers these days assume that users have fast unmetered connections. Loading 800 kB of minified gzipped JS from ten different domains is seen as no big deal. When the cost of adding piles of dependencies is considered nil there's no impetus to avoid them.

[-] FlorianSimon@sh.itjust.works 6 points 6 months ago

That last point truly bothers me, too. It's fine to have a bloated work environment (some people use Visual Studio, after all). But that complexity should not get offloaded to your users. Webdevs need to do better on this front, it's not 2015 anymore.

this post was submitted on 11 Feb 2024
128 points (95.7% liked)

Programming

16725 readers
255 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 1 year ago
MODERATORS