3 ms·
That's not necessarily a good comparison. Electron comes as a binary, so it already has all its own hundreds of dependencies integrated. The dependency hell wi
by the_duke 5y ago
That's not necessarily a good comparison. Electron comes as a binary, so it already has all its own hundreds of dependencies integrated.
The dependency hell wit JS projects is real, and upgrading can become a major timesink and pain if you are not maintaining and upgrading the project constantly.
- krono 5y agoThere also exists a surprising amount of ridiculously unnecessary packages that many worthwhile ones depend on. One such example is `is-odd` that is hovering around 500k weekly downloads https://www.npmjs.com/package/is-odd https://www.npmjs.com/package/is-odd
- pb82 5y agoIt's even worse in this case. Following the Github link, you'll get to an archived repository inside an org that the author created as a joke. In his own words: 'This is a joke. You'll only see this org if you are attempting to troll me about repositories I created when I was learning to program.' It got in there and is now part of the foundation of tons of other projects. Maybe it doesn't matter but at the very least this ecosystem seems very immature (in the psychological sense).
- 2muchcoffeeman 5y agoThere was a lot of discussion about this when left pad broke the internet. One of the arguments for it was that it’s easier to reason about what a one line module does. Until you have 2000 of them and can no longer reason what the system does or what the interactions between them are.
- bellyfullofbac 5y agoOn that page there's a related project called is-even . I pray for maximum laughs that is-even depends on is-odd, and just negates the return value of is-odd... Edit: it actually does! Hah! https://github.com/i-voted-for-trump/is-even/blob/master/index.js https://github.com/i-voted-for-trump/is-even/blob/master/ind...