News for hackers. Stuff that matters.
Re:Things I Regret About Node.js [video] by pknopf on Wednesday June 06, 2018 @09:56PM (#17252652)
The gist, every dependency you bring in your app should be thought about, really hard.

If your using 10% of the lib, just implement it yourself.

If the lib is critical, like openssl, bring it in. Other people have solved the hard problems for you.

But yeah, it's a balance.

Re:Things I Regret About Node.js [video] by fnordsensei on Thursday June 07, 2018 @12:39AM (#17253342)
Unless you're using something that has competent dead code elimination, like Google Closure Compiler. Then you can go ahead and include 30mb of libs, knowing that only a fraction will actually be shipped in the production version.