Technical Debt Patterns: Copied and Pasted Code
![](https://www.calavista.com/wp-content/uploads/2023/07/istock-518357522-e1592251845481-2_1540x1050-1024x698.webp)
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.