this is the guy whose package `is-even`, which tells you whether a number is even, has the following source code, in its entirety: var isOdd = require('is-odd'); module.exports = function isEven(i) { return !isOdd(i); };
-
-
Show this thread
-
this guy has a package `filter-object`, where you give it an object and a filter and it returns a new object with only some of the keys of the original. about four lines of code, right? no dependencies, surely? watch: https://npm.anvaka.com/#/view/2d/filter-object …
Show this thread -
I once discovered someone had used `filter-object` in our front-end code, I replaced it with a simple loop and saved us 900kB of dependencies
Show this thread -
yeah this is how the fellow ends up claiming with a straight face that his code is used by NASAhttps://twitter.com/cronokirby/status/1260569190416728064 …
Show this thread -
it would be marginally less annoying if the code itself wasn't so FLAKY `isOdd(1e100)` should return `false` but throws an exception `isOdd(2.5)` throws because it's expecting an integer, but `isOdd('')` returns `false` `isEven` doesn't even use the latest `isOdd`?
Show this thread -
I'm sure he's a lovely fellow but his code is among the absolute worst I've ever seen
Show this thread -
my package `abcdefghijklmnopqrstuvwxyz` is a parody of his workhttps://www.npmjs.com/package/abcdefghijklmnopqrstuvwxyz …
Show this thread
End of conversation
New conversation -
-
-
The problem is with the development culture that drives people to use these packages
-
I don't think people really use these packages directly, there a few packages worth using, that commit the mistake of depending on these micro packages, often because the authors are the same, so you end up with them transitively
End of conversation
New conversation -
-
-
Thanks. Twitter will use this to make your timeline better. UndoUndo
-
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.