3 ms·
> "years ago websites were made of files; now they are made of dependencies." This is true, plain old HTML files just depended on the browser's compatibility.
by gitgud 7y ago
> "years ago websites were made of files; now they are made of dependencies."
This is true, plain old HTML files just depended on the browser's compatibility. Whereas modern node_modules based projects also depend on thousands, sometimes tens of thousands additional npm dependencies...
What I've learnt with opening old node projects (2 years+), is that you better be ready to fix some things, thank god it's all open-source!
- DavidPiper 7y ago> thank god it's all open-source! It feels like there's something super important/relevant about that throwaway comment, but I can't quite put my finger on what. Beyond the idea that you wouldn't even be able to fix what you had built yourself if it wasn't all open source. Perhaps it just resonates with the idea that if something is open source, everybody owns it and nobody owns it at the same time?
- headsoup 7y agoPerhaps 'nobody owns it, everybody can change (fix) it'
- TeMPOraL 7y agoI have a different take. Being open source doesn't matter at all in cases like these, because if half of your NPM dependencies suddenly break on you, you aren't going to even look at them. Nobody has time for that crap. You'll just swear out loud, and pin your dependencies to older versions.
- SmellyGeekBoy 7y ago> Beyond the idea that you wouldn't even be able to fix what you had built yourself if it wasn't all open source. Perhaps GP was talking about working with other people's node projects?
- m463 7y agoThere's a darker side to this... The dependencies on "fonts" or "media" from the googles and the CDNs are tracking plays. (decentraleyes plugin ftw)