Episode #286: More Coincidental Duplication

When should you extract extract out apparently duplicated logic? Do you factor out every bit of apparent repetition as soon as you see it? Or do you adhere to the old adage, "if it's not broken, don't fix it"? In this, our third foray into the concept of "coincidental duplication", you'll learn a simple and effective guideline for when to extract duplicated code.

This page is just for members. Sign in or subscribe to gain access!