You must log in or # to comment.
“A little copying is better than a little dependency.”
Judgement call. When it’s something prone to change that’s hard to get right, duplicating it just creates more maintenance burden.
For sure. But I’ve seen a lot more sins committed in the name of reusing code than in the name of minimizing dependencies.
Reuse is only good in the context of 90s era OO programming wisdom of “Coupling is bad, cohesion is good”.
Wait so I should reinvent the wheel constantly! I knew I was right about that!!
I also think an implementation should depend on how many the developer remembers to change
Depend on abstractions. This isn’t hard. 🤷
When I do a security audit on apps with hundreds of dependencies, I die a little bit





