Hacker News new | past | comments | ask | show | jobs | submit login

Welcome to the world of node.



This is nothing to do with node. This is poor programmer decision making. You can build great node apps with a real minimalist approach. Holding up projects which pull in half of npm as "the world of node" is like holding up a hot and ready 5$ pizza and saying all Italian food is bad.


I think the point is that this is almost encouraged in the node ecosystem, while in most other language ecosystems I know of it wouldn't be.


Most other ecosystems inlcude more batteries (e.g. PHP). That is why you have to update this ecosystems with all their modules. The problem is, if the core has a bug, ALL apps in this ecosystem has the bugs.

node includes not everything and concentrate on the core. If modules have bugs, not all apps a compromised.

It is a fundamental design decision, if you not like it, don't use node.

You can include all dependencies manually and update them manually, nobody keeps you away. But have fun to update all your deps.


Encouraged by who? I see the same people which used to install jQuery or WordPress plugins and were able to get janky but working sites. But prolific module authors and node core contributors don't promote these approaches.

Maybe if you listen too much to twitter "thought leaders" you might get this impression, but we are all aware of the problems with social media platforms...


Well, considering the amount of dependencies in popular projects like CRA that was highlighted here a few days ago I don't think it's unreasonable to extrapolate to the general ecosystem. Of course there are module authors and devs doing it differently, but in general most node projects I see are more dependency-happy than projects I see in other languages.


Give people a useful tool (npm) and they will muck it up. This is both the best and worst part of the general node ecosystem. The issue is people saying things like "that's just node". It is not node, it is the ease of use and popularity meaning there will be more of these examples. If you care to make high quality use of the platform and tools you can, but that means not following the crowd.


Agreed, but for whatever reason it seems more prevalent in the node ecosystem than in others (even when comparing high-profile projects).




Guidelines | FAQ | Support | API | Security | Lists | Bookmarklet | Legal | Apply to YC | Contact

Search: