Skip to content

Duplication Quote by Robert C. Martin

“Duplication may be the root of all evil in software.” quote by Robert C. Martin
Download Open image
““Duplication may be the root of all evil in software.””

Robert C. Martin

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.

Key Takeaway

Avoid duplication, keep code DRY.

Themes

software design maintenance quality

Mood

analytical pragmatic

Type

technical advisory

When to use this quote

  • large codebases
  • team projects
  • refactoring
  • legacy systems

Key Concepts

DRY principle technical debt software evil

Questions to Reflect On

  • When is duplication justified?
  • How can you balance DRY with readability?
A Different Perspective

Duplication can sometimes be pragmatic for performance.

2.3 out of 5 (9 ratings)

More by Robert C. Martin

Explore all 34 Robert C. Martin quotes

More Duplication quotes

Browse all 27 Duplication quotes