As a follow-up to my post, “Incidental Duplication”, I thought I’d share this great article by Kent Dodds with you.
Avoid Hasty Abstractions
prefer duplication over the wrong abstraction
This is such a solid golden nugget of wisdom that I want you to read it again, then read Sandi’s blog post on the subject: The Wrong Abstraction. It’s fantastic.
Kent also has a really great presentation, which is embedded in the post if you follow the link.