3 ms·
Hah! Try node.js for anything non-trivial and shudder.
by jacquesm 6y ago
Hah! Try node.js for anything non-trivial and shudder.
- geuis 6y agoIt’s entirely possible to write good and efficient software with node without requiring an excess of dependencies. It just requires strong responsibility and good practices.
- jacquesm 6y agoOk, I concede it is possible. Just like going to the moon is possible. But in practice everything I see that pulls in the node ecosystem even peripherally suffers from this. 100's of dependencies are not rare at all, and some of those on the most obscure packages.
- geuis 6y agoYou aren’t wrong. After years of seeing things going that way, I’m hyper critical of any new additions I make to my own software or anything my team is working on.
- errantspark 6y agoCouldn't agree more. To expand on the point a bit I feel that Node (and JS in general, and other wildin' langs like C++ too) mostly have disadvantages that can be circumvented with discipline while keeping their advantages intact. Go and related crew on the other hand impose discipline as a language feature, and if you circumvent it (if you even can) you're missing much of the point of the language.
- dx87 6y agoYeah, I've been using Rust for hobby stuff for the past few years, and I never paid much attention to how many dependencies get pulled in. I checked recently with the postgres crate, and that one crate resulted in just under 100 dependencies being pulled in.
- justinmeiners 6y agoIt's NPM that's the problem, not node.