Re:Please, do not install every shit
by lmm on Monday February 19, 2018 @10:42AM
(#16413491)
35 LOC is absolutely worth a package, unless your package manager is really bad; that means 34 fewer lines in your codebase.
[ Parent
| on HN ]
Well, yeah, 32 fewer in your codebase, 28 fewer in your build, 10 fewer that you have to type, 15 more you have to understand, 37 more you have to debug...
Watch out for actively developed dependencies.
I'd say rather: approach a dependency upgrade like any other code change, and be prepared to refactor aggressively (including by copying code and removing the dependency, if necessary) as with any other code change.