Java is lucky enough to have a lot of very solid Apache libraries built with enterprise money. Is the culture different for js and npm?
Java is lucky enough to have a lot of very solid Apache libraries built with enterprise money. Is the culture different for js and npm?
2) Platform incompatibility plus no-one actually writes real Javascript that can run directly on any platform anymore anyway, so there are polyfills for yet-to-be-implemented language features and compatibility overlays galore.
3) And yes a lot of it's just the fault of Javascript "culture".
For example, there is a lodash package, but people don't want to include the whole thing, so now there is one package for each function:
https://www.npmjs.com/~jdalton
As far as I know this aspect is unique to nodejs/npm.
I do for my code sometimes, except I make GitHub Gists out of them instead of putting them on NPM.