News for hackers. Stuff that matters.
Re:Never use a dependency that you could replace with an aft... by fchu on Tuesday August 11, 2020 @04:42PM (#24125734)
That's too simplistic and not realistic.

I'd rather go for an heuristic that's the dependency management equivalent of "Ask for forgiveness, not permission":

1.Find the best library that is good enough to solve your current needs, double-check to understand its capabilities and shortcomings (to internalize any known future needs), and code against it.

2. Invest the time to build your own stuff only when you start to see limitations in future iterations. By this time you'd also have a battle-tested understanding of both the dependency's shortcomings and your own requirements

There are no comments on this comment yet.