4 ms·
The thing is, nobody is forcing you to use excessively small modules. If you use an excessive amount of small modules, that's an error of the developer, not an
by wyqydsyq 10y ago
The thing is, nobody is forcing you to use excessively small modules.
If you use an excessive amount of small modules, that's an error of the developer, not an inherent flaw in the platform/ecosystem.
- int_19h 10y agoThe problem is that the ecosystem encourages small modules, and so the vast majority of existing modules in the ecosystem are small modules, or else are bigger modules that use many small modules. Basically, the only way to avoid depending on something this silly in your real-world Node project is to not use anything from npm. At which point you pretty much lose all the advantages of Node.
- njharman 10y agoNobody is forcing me to use node. If I use it, is that also an error of the developer?
- ramchip 10y agoMy app does not use small modules... but its dependencies do, and the dependencies' dependencies, so in the end my node_modules folder has hundreds of packages and everything compiles slow like molasses :(
- iends 10y agoCompiles?