News for hackers. Stuff that matters.
Re:NPM package 'isarray' is downloaded 40M times a week by Benjammer on Sunday November 08, 2020 @10:34AM (#25026355)
I don't understand the mindset of "you did it wrong once, so you can't do it anymore, you must let me do it for you."

Why is the fact that some devs sometimes screw up one-liners of any material importance to the existence of this library?

Some devs write code with bugs, does that mean they shouldn't write code any more? Is it either you write pristine, bug-free code on the first try for everything, or else you should be relegated to the back room gluing things together built by the _real_ devs? This is such snooty behavior that I'm not surprised at all by a response like the angry dude in there. He's an asshole for sure, but he's not totally wrong in my view.

Re:NPM package 'isarray' is downloaded 40M times a week by falcolas on Sunday November 08, 2020 @11:34AM (#25026835)
I’m with you. Some people occasionally forget semicolons, should we have a library for that too? “Wrap all your statements in this pre-processor function call (it’s just another line in your build pipeline) and we’ll take care of the semicolons for you.”