3 ms·
If dependencies are bad, then it seems to follow that every project should reinvent all the wheels.
by pekk 11y ago
If dependencies are bad, then it seems to follow that every project should reinvent all the wheels.
- recursive 11y agoNo. Reinventing wheels is also bad. Which one is worse depends on context.
- marcus_holmes 11y agonice ad absurdum ;) I don't have any objection to dependencies where they're necessary. But the node culture isn't "where necessary", it's "wherever some code might be vaguely useful". Left-pad is a classic example: this is a one-liner[1] so why the hell are we including it as a dependency? [1]: ((str,len)=>("0000000000"+str).slice(len*-1))("test",10)