Technical Debt Patterns: Copied and Pasted Code

This is the sixth part in the series, “Technical Debt Patterns.” There are two (more more!) copies of the same bit of code, because some lazy (or unknowing) programmer copied a whole block and just edited a few lines. Sure, it’s a lot easier than figuring out the right refactoring, and it gets the job done.