this post was submitted on 05 Sep 2023
508 points (98.8% liked)
Programmer Humor
19551 readers
398 users here now
Welcome to Programmer Humor!
This is a place where you can post jokes, memes, humor, etc. related to programming!
For sharing awful code theres also Programming Horror.
Rules
- Keep content in english
- No advertisements
- Posts must be related to programming or programmer topics
founded 1 year ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
Left pad is a good example of why you shouldn't.
can you elaborate
https://qz.com/646467/how-one-programmer-broke-the-internet-by-deleting-a-tiny-piece-of-code
This was excellent, but conveniently left off any discussion that npm can “un-un-publish” a programmer’s code against their wishes, and apparently without repercussions?
Fuck npm, I guess.
Absolutely they can un-unpublish since the programmer has given everyone the rights to use his code wherever they want, with its open license. Npm can actually use the older version of the code and give it to everyone. Its actually a good thing
Right, the “open” part of open source.
Thank fuck for that, cause if they didn't
faker.js
andnode-ipc
would have caused a lot of trouble, with the developers adding malware to a new version and later deleting the entire packages, breaking tons of projects. And those were everything but small packages.All for the greater good, especially if it's the choice between one guy's desire to nuke their own code VS tens / hundreds of thousands of projects that depend on it.
That was a rather nice read :) thank you!
Thank you for sharing this. I learn something new everyday, much appreciated.