Duplication Quote by Robert C. Martin
““Duplication may be the root of all evil in software.””
About This Quote
Source Book: Clean Code, Robert C. Martin, 2008
Duplicating code creates hidden dependencies and maintenance burdens, leading to systemic problems.
In simple terms: Copying code causes problems.
Avoid duplication, keep code DRY.
Themes
Mood
Type
When to use this quote
- large codebases
- team projects
- refactoring
- legacy systems
Key Concepts
Questions to Reflect On
- When is duplication justified?
- How can you balance DRY with readability?
Duplication can sometimes be pragmatic for performance.