3 ms·
35 LOC is absolutely worth a package, unless your package manager is really bad; that means 34 fewer lines in your codebase.
by lmm 9y ago
35 LOC is absolutely worth a package, unless your package manager is really bad; that means 34 fewer lines in your codebase.
- mcguire 9y agoWell, 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.
- lmm 9y agoI'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.