Cut and Paste Programming

This smell is identified by the presence of several similar segments of code interspersed throughout the software project.

Related smells: Duplicate Code Duplicate Abstraction Unfactored Hierarchy


W. Brown, R. Malveau, H. McCormick, T. Mowbray, “AntiPatterns: Refactoring Software, Architectures, and Projects in Crisis”. John Wiley & Sons, 1998.

Design Smells


All rights reserved (c) Tushar Sharma 2017-23.