| ▲ | umvi 3 hours ago | ||||||||||||||||||||||
> no longer any need to use a library at all As someone who works on medical device software, I see this as a huge plus (maybe a con for FOSS specifically, but a net win overall). I'm a big proponent of the go-ism "A little copying is better than a little dependency". Maybe we need a new proverb "A little generated code is better than a little dependency". Fewer dependencies = smaller cyberseucity burden, smaller regulatory burden, and more. Now, obviously foregoing libsodium or something for generated code is a bad idea, but probably 90%+ of npm packages could probably go. | |||||||||||||||||||||||
| ▲ | no_wizard 3 hours ago | parent | next [-] | ||||||||||||||||||||||
> probably 90%+ of npm packages could probably go I feel npm gets held to an unreasonable standard. The fact is tons of beginners across the world publish packages to it. Some projects publish lots of packages to it that only make sense for those projects but are public anyway then you have the bulwark pa lager that most orgs use. It is unfair to me that it’s always held as the “problematic registry”. When you have a single registry for the most popular language and arguably most used language in the world you’re gonna see massive volume of all kinds of packages, it doesn’t mean 90% of npm is useless FWIW I find most pypi packages worthless and fairly low quality but no ones seems to want to bring that up all the time | |||||||||||||||||||||||
| |||||||||||||||||||||||
| ▲ | macleginn 3 hours ago | parent | prev | next [-] | ||||||||||||||||||||||
Since code-generating AIs were likely trained on them, they won't go too far, though. | |||||||||||||||||||||||
| ▲ | dayjaby an hour ago | parent | prev [-] | ||||||||||||||||||||||
I am utterly confused at how you think rewriting entire libraries have less security holes than battle-hardened libraries that 1000s of other people use. | |||||||||||||||||||||||