I’ve heard people mention curl and imagemagick. Any others that you know about?

Baldur Nil
link
fedilink
English
12
edit-2
1Y

Node frameworks are famous for this purely because of a lack of standard library. I feel like most languages have a standard library that balance being generic but still providing utilities of common used stuff. So a company that doesn’t want to rely on a random guy’s library can build their own with only the features they want. But with Node, any complicated feature is using a tree of hundreds of random packages that you have no idea who created them.

I believe the nodejs fiasco is what prompted this comic?https://www.google.com/amp/s/www.theregister.com/AMP/2016/03/23/npm_left_pad_chaos/

It’s possible leftpad was an example Randall was thinking of, but the date of the comic is Aug 17, 2020, more than 4 years after leftpad.

https://www.explainxkcd.com/wiki/index.php/2347:_Dependency

Baldur Nil
link
fedilink
English
11Y

Another example is a large number of libraries using an external dependency to check if a number is odd.

@GissaMittJobb@lemmy.ml
link
fedilink
English
11Y

I believe it was the OpenSSL-security scandal, iirc.

@Fylkir@lemmy.sdf.org
link
fedilink
English
31Y

Someone ought to write a Node.js fork that includes native implementations of popular modules that are unlikely to need maintenance like isodd. Then come with a custom version of NPM that refuse to install the packages.

Deno basically did this by including a standard library that removes the need for the most popular modules. It’s the best js/ts experience I’ve ever had.

Baldur Nil
link
fedilink
English
21Y

I just checked it and seems nice! Also seems to have been well received by the community.

Create a post

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



  • 1 user online
  • 1 user / day
  • 1 user / week
  • 1 user / month
  • 1 user / 6 months
  • 1 subscriber
  • 1.21K Posts
  • 17.8K Comments
  • Modlog