---
title: "Meaning & Key Takeaway of: Duplication may be the root of all evil…"
description: "\"“Duplication may be the root of all evil in software.”\" — Robert C. Martin"
image: "https://sms4smile.com/quotes/i/024/robert-c-martin-18499_duplication_duplication-may-be-the-root-of-all-evil_633149.jpg"
---

#  Duplication may be the root of all evil in software.

![“Duplication may be the root of all evil in software.” quote by Robert C. Martin](https://sms4smile.com/quotes/i/024/robert-c-martin-18499_duplication_duplication-may-be-the-root-of-all-evil_633149.jpg)   [Download](https://sms4smile.com/quotes/i/024/robert-c-martin-18499_duplication_duplication-may-be-the-root-of-all-evil_633149.jpg) [Open image](https://sms4smile.com/quotes/i/024/robert-c-martin-18499_duplication_duplication-may-be-the-root-of-all-evil_633149.jpg)

> ““Duplication may be the root of all evil in software.””

[Robert C. Martin](https://sms4smile.com/quotes/author/robert-c-martin/)

## About This Quote

This interpretation was drafted with AI assistance. It is one reading of the quote, not the author's own explanation.

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.

★ ★ ★ ★ ★   No ratings yet

[Duplication](https://sms4smile.com/quotes/about/duplication/) [Evil](https://sms4smile.com/quotes/about/evil/) [Home](https://sms4smile.com/quotes/about/home/) [Programming](https://sms4smile.com/quotes/about/programming/)

## Related quotes

> [There is no one "root of all evil" in software development. Design is hard in many ways. People tend to underestimate the intellectual and…](https://sms4smile.com/quotes/bjarne-stroustrup/there-is-no-one-root-of-all-evil-in-software-development-design-is/)

[Bjarne Stroustrup](https://sms4smile.com/quotes/author/bjarne-stroustrup/)

> [“Duplication is the primary enemy of a well-designed system.”](https://sms4smile.com/quotes/robert-c-martin/duplication-is-the-primary-enemy-of-a-well-designed-system/)

[Robert C. Martin](https://sms4smile.com/quotes/author/robert-c-martin/)

> [Okay, were talking about the root of all evil. (Money) Never put it before God or your people &amp; never let it come between…](https://sms4smile.com/quotes/chad-garcia/okay-were-talking-about-the-root-of-all-evil-money-never-put-it/)

[Chad Garcia](https://sms4smile.com/quotes/author/chad-garcia/)

> [Far from idleness being the root of all evil, it is rather the only true good.](https://sms4smile.com/quotes/soren-kierkegaard/far-from-idleness-being-the-root-of-all-evil-it-is-rather-the-only/)

[Soren Kierkegaard](https://sms4smile.com/quotes/author/soren-kierkegaard/)

> [Or the Department of Education and another ministry were worried about duplication of effort, so what did they do? They set up two committees…](https://sms4smile.com/quotes/rory-bremner/or-the-department-of-education-and-another-ministry-were-worried/)

[Rory Bremner](https://sms4smile.com/quotes/author/rory-bremner/)

> [If I was a locksmith, I'd be pimping that out man. I'll trade you a free key duplication for. That joke made me laugh…](https://sms4smile.com/quotes/mitch-hedberg/if-i-was-a-locksmith-i-d-be-pimping-that-out-man-i-ll-trade-you-a/)

[Mitch Hedberg](https://sms4smile.com/quotes/author/mitch-hedberg/)

> [Only in black and white can I see the design and textures. I don't consider color photography art. Black and white is an interpretation.…](https://sms4smile.com/quotes/clyde-butcher/only-in-black-and-white-can-i-see-the-design-and-textures-i-don-t/)

Clyde Butcher

> [We are reorganizing in order to eliminate duplication and redundancy.](https://sms4smile.com/quotes/herb-caen/we-are-reorganizing-in-order-to-eliminate-duplication-and-redundancy/)

[Herb Caen](https://sms4smile.com/quotes/author/herb-caen/)

> [Success without duplication is merely future failure in disguise.](https://sms4smile.com/quotes/randy-gage/success-without-duplication-is-merely-future-failure-in-disguise/)

[Randy Gage](https://sms4smile.com/quotes/author/randy-gage/)

> [“Beauty is the replication and duplication of mind’s delusion. It is not uniqueness or exceptionality; it is the mentality of belonging and fitting in.”](https://sms4smile.com/quotes/m-f-moonzajer/beauty-is-the-replication-and-duplication-of-mind-s-delusion-it-is/)

[M.F. Moonzajer](https://sms4smile.com/quotes/author/m-f-moonzajer/)

> [“If I have the same logic in two places, I work with the design to understand how I can have only one copy. Designs…](https://sms4smile.com/quotes/kent-beck/if-i-have-the-same-logic-in-two-places-i-work-with-the-design-to/)

[Kent Beck](https://sms4smile.com/quotes/author/kent-beck/)

> [Hip-hop in Africa has been very often a duplication of an American experience, but in a context that's totally alien to it.](https://sms4smile.com/quotes/k-naan/hip-hop-in-africa-has-been-very-often-a-duplication-of-an-american/)

[K'naan](https://sms4smile.com/quotes/author/k-naan/)

> [The problems of this world are only truly solved in two ways: by extinction or duplication.](https://sms4smile.com/quotes/susan-sontag/the-problems-of-this-world-are-only-truly-solved-in-two-ways-by/)

[Susan Sontag](https://sms4smile.com/quotes/author/susan-sontag/)

> [Duplication never works for anybody.](https://sms4smile.com/quotes/dulquer-salmaan/duplication-never-works-for-anybody/)

[Dulquer Salmaan](https://sms4smile.com/quotes/author/dulquer-salmaan/)

> [Photographs are but one link in a potentially endless chain of reduplication; themselves duplicates (of both their objects and, in a sense, their negatives),…](https://sms4smile.com/quotes/craig-owens/photographs-are-but-one-link-in-a-potentially-endless-chain-of/)

[Craig Owens](https://sms4smile.com/quotes/author/craig-owens/)

## More by Robert C. Martin

> [“The rules of software are the same today as they were in 1946, when Alan Turing wrote the very first code that would execute…](https://sms4smile.com/quotes/robert-c-martin/the-rules-of-software-are-the-same-today-as-they-were-in-1946-when/)

[Robert C. Martin](https://sms4smile.com/quotes/author/robert-c-martin/)

> [“Just as the Hare was overconfident in its speed, so the developers are overconfident in their ability to remain productive.”](https://sms4smile.com/quotes/robert-c-martin/just-as-the-hare-was-overconfident-in-its-speed-so-the-developers-are/)

[Robert C. Martin](https://sms4smile.com/quotes/author/robert-c-martin/)

> [“How can we make sure we wind up behind the right door when the going gets tough? The answer is: craftsmanship.”](https://sms4smile.com/quotes/robert-c-martin/how-can-we-make-sure-we-wind-up-behind-the-right-door-when-the-going/)

[Robert C. Martin](https://sms4smile.com/quotes/author/robert-c-martin/)

> [“The problem that Dijkstra recognized, early on, was that programming is hard, and that programmers don’t do it very well.”](https://sms4smile.com/quotes/robert-c-martin/the-problem-that-dijkstra-recognized-early-on-was-that-programming-is/)

[Robert C. Martin](https://sms4smile.com/quotes/author/robert-c-martin/)

> [“Few practices are as odious as commenting-out code. Don’t do this!”](https://sms4smile.com/quotes/robert-c-martin/few-practices-are-as-odious-as-commenting-out-code-don-t-do-this/)

[Robert C. Martin](https://sms4smile.com/quotes/author/robert-c-martin/)

> [“Remember that code is really the language in which we ultimately express the requirements. We may create languages that are closer to the requirements.…](https://sms4smile.com/quotes/robert-c-martin/remember-that-code-is-really-the-language-in-which-we-ultimately/)

[Robert C. Martin](https://sms4smile.com/quotes/author/robert-c-martin/)

> [“When you are working on a problem, you sometimes get so close to it that you can’t see all the options. You miss elegant…](https://sms4smile.com/quotes/robert-c-martin/when-you-are-working-on-a-problem-you-sometimes-get-so-close-to-it/)

[Robert C. Martin](https://sms4smile.com/quotes/author/robert-c-martin/)

> [“The majority of the cost of a software project is in long-term maintenance.”](https://sms4smile.com/quotes/robert-c-martin/the-majority-of-the-cost-of-a-software-project-is-in-long-term/)

[Robert C. Martin](https://sms4smile.com/quotes/author/robert-c-martin/)

> [“So if you want to go fast, if you want to get done quickly, if you want your code to be easy to write,…](https://sms4smile.com/quotes/robert-c-martin/so-if-you-want-to-go-fast-if-you-want-to-get-done-quickly-if-you-want/)

[Robert C. Martin](https://sms4smile.com/quotes/author/robert-c-martin/)

> [“Refactoring is a lot like solving a Rubik’s cube. There are lots of little steps required to achieve a large goal. Each step enables…](https://sms4smile.com/quotes/robert-c-martin/refactoring-is-a-lot-like-solving-a-rubik-s-cube-there-are-lots-of/)

[Robert C. Martin](https://sms4smile.com/quotes/author/robert-c-martin/)

> [“Slaves are not allowed to say no. Laborers may be hesitant to say no. But professionals are expected to say no. Indeed, good managers…](https://sms4smile.com/quotes/robert-c-martin/slaves-are-not-allowed-to-say-no-laborers-may-be-hesitant-to-say-no/)

[Robert C. Martin](https://sms4smile.com/quotes/author/robert-c-martin/)

> [“Abstraction is the elimination of the irrelevant and the amplification of the essential.”](https://sms4smile.com/quotes/robert-c-martin/abstraction-is-the-elimination-of-the-irrelevant-and-the/)

[Robert C. Martin](https://sms4smile.com/quotes/author/robert-c-martin/)

> [“You see, programmers tend to be arrogant, self-absorbed introverts. We didn’t get into this business because we like people. Most of us got into…](https://sms4smile.com/quotes/robert-c-martin/you-see-programmers-tend-to-be-arrogant-self-absorbed-introverts-we/)

[Robert C. Martin](https://sms4smile.com/quotes/author/robert-c-martin/)

> [“Truth can only be found in one place: the code.”](https://sms4smile.com/quotes/robert-c-martin/truth-can-only-be-found-in-one-place-the-code/)

[Robert C. Martin](https://sms4smile.com/quotes/author/robert-c-martin/)

> [“Writing clean code is what you must do in order to call yourself a professional. There is no reasonable excuse for doing anything less…](https://sms4smile.com/quotes/robert-c-martin/writing-clean-code-is-what-you-must-do-in-order-to-call-yourself-a/)

[Robert C. Martin](https://sms4smile.com/quotes/author/robert-c-martin/)

[Explore all 34 Robert C. Martin quotes ](https://sms4smile.com/quotes/author/robert-c-martin/)

## More Duplication quotes

> [“If I have the same logic in two places, I work with the design to understand how I can have only one copy. Designs…](https://sms4smile.com/quotes/kent-beck/if-i-have-the-same-logic-in-two-places-i-work-with-the-design-to/)

[Kent Beck](https://sms4smile.com/quotes/author/kent-beck/)

> [Or the Department of Education and another ministry were worried about duplication of effort, so what did they do? They set up two committees…](https://sms4smile.com/quotes/rory-bremner/or-the-department-of-education-and-another-ministry-were-worried/)

[Rory Bremner](https://sms4smile.com/quotes/author/rory-bremner/)

> [Duplication never works for anybody.](https://sms4smile.com/quotes/dulquer-salmaan/duplication-never-works-for-anybody/)

[Dulquer Salmaan](https://sms4smile.com/quotes/author/dulquer-salmaan/)

> [The problems of this world are only truly solved in two ways: by extinction or duplication.](https://sms4smile.com/quotes/susan-sontag/the-problems-of-this-world-are-only-truly-solved-in-two-ways-by/)

[Susan Sontag](https://sms4smile.com/quotes/author/susan-sontag/)

> [Hip-hop in Africa has been very often a duplication of an American experience, but in a context that's totally alien to it.](https://sms4smile.com/quotes/k-naan/hip-hop-in-africa-has-been-very-often-a-duplication-of-an-american/)

[K'naan](https://sms4smile.com/quotes/author/k-naan/)

> [Photographs are but one link in a potentially endless chain of reduplication; themselves duplicates (of both their objects and, in a sense, their negatives),…](https://sms4smile.com/quotes/craig-owens/photographs-are-but-one-link-in-a-potentially-endless-chain-of/)

[Craig Owens](https://sms4smile.com/quotes/author/craig-owens/)

> [“Beauty is the replication and duplication of mind’s delusion. It is not uniqueness or exceptionality; it is the mentality of belonging and fitting in.”](https://sms4smile.com/quotes/m-f-moonzajer/beauty-is-the-replication-and-duplication-of-mind-s-delusion-it-is/)

[M.F. Moonzajer](https://sms4smile.com/quotes/author/m-f-moonzajer/)

> [Success without duplication is merely future failure in disguise.](https://sms4smile.com/quotes/randy-gage/success-without-duplication-is-merely-future-failure-in-disguise/)

[Randy Gage](https://sms4smile.com/quotes/author/randy-gage/)

> [We are reorganizing in order to eliminate duplication and redundancy.](https://sms4smile.com/quotes/herb-caen/we-are-reorganizing-in-order-to-eliminate-duplication-and-redundancy/)

[Herb Caen](https://sms4smile.com/quotes/author/herb-caen/)

> [Only in black and white can I see the design and textures. I don't consider color photography art. Black and white is an interpretation.…](https://sms4smile.com/quotes/clyde-butcher/only-in-black-and-white-can-i-see-the-design-and-textures-i-don-t/)

Clyde Butcher

> [If I was a locksmith, I'd be pimping that out man. I'll trade you a free key duplication for. That joke made me laugh…](https://sms4smile.com/quotes/mitch-hedberg/if-i-was-a-locksmith-i-d-be-pimping-that-out-man-i-ll-trade-you-a/)

[Mitch Hedberg](https://sms4smile.com/quotes/author/mitch-hedberg/)

> [Life is a mirror that magnifies. What we see 'out there' is only a duplication of what we are inside.](https://sms4smile.com/quotes/david-wolfe/life-is-a-mirror-that-magnifies-what-we-see-out-there-is-only-a/)

[David Wolfe](https://sms4smile.com/quotes/author/david-wolfe/)

> [Our camera does not produce pretty pictures, but exact duplications that, through our renunciation of photographic effects, turn out to be relatively objective. The…](https://sms4smile.com/quotes/bernd-becher/our-camera-does-not-produce-pretty-pictures-but-exact-duplications/)

[Bernd Becher](https://sms4smile.com/quotes/author/bernd-becher/)

> [One of the things I've been trying to do is look for simpler or rules underpinning good or bad design. I think one of…](https://sms4smile.com/quotes/martin-fowler/one-of-the-things-i-ve-been-trying-to-do-is-look-for-simpler-or-rules/)

[Martin Fowler](https://sms4smile.com/quotes/author/martin-fowler/)

> [It's almost as if this is the fundamental procedure in modern society: duplication and recycling.](https://sms4smile.com/quotes/susan-sontag/it-s-almost-as-if-this-is-the-fundamental-procedure-in-modern-society/)

[Susan Sontag](https://sms4smile.com/quotes/author/susan-sontag/)

[Browse all 36 Duplication quotes ](https://sms4smile.com/quotes/about/duplication/)

```json
{
    "@context": "https://schema.org",
    "@graph": [
        {
            "@type": "Quotation",
            "text": "“Duplication may be the root of all evil in software.”",
            "creator": {
                "@type": "Person",
                "name": "Robert C. Martin"
            },
            "isPartOf": {
                "@id": "https://sms4smile.com/quotes/#website"
            },
            "url": "https://sms4smile.com/quotes/robert-c-martin/duplication-may-be-the-root-of-all-evil-in-software/",
            "about": {
                "@type": "Thing",
                "name": "Duplication"
            },
            "@id": "https://sms4smile.com/quotes/robert-c-martin/duplication-may-be-the-root-of-all-evil-in-software/#quotation",
            "image": {
                "@type": "ImageObject",
                "@id": "https://sms4smile.com/quotes/i/024/robert-c-martin-18499_duplication_duplication-may-be-the-root-of-all-evil_633149.jpg",
                "contentUrl": "https://sms4smile.com/quotes/i/024/robert-c-martin-18499_duplication_duplication-may-be-the-root-of-all-evil_633149.jpg",
                "url": "https://sms4smile.com/quotes/i/024/robert-c-martin-18499_duplication_duplication-may-be-the-root-of-all-evil_633149.jpg",
                "width": 1080,
                "height": 1080,
                "caption": "“Duplication may be the root of all evil in software.” — Robert C. Martin",
                "creditText": "SMS4Smile Quotes",
                "creator": {
                    "@id": "https://sms4smile.com/quotes/#organization"
                }
            }
        },
        {
            "@type": "BreadcrumbList",
            "itemListElement": [
                {
                    "@type": "ListItem",
                    "position": 1,
                    "name": "Home",
                    "item": "https://sms4smile.com/"
                },
                {
                    "@type": "ListItem",
                    "position": 2,
                    "name": "Quotes",
                    "item": "https://sms4smile.com/quotes/"
                },
                {
                    "@type": "ListItem",
                    "position": 3,
                    "name": "Robert C. Martin",
                    "item": "https://sms4smile.com/quotes/author/robert-c-martin/"
                },
                {
                    "@type": "ListItem",
                    "position": 4,
                    "name": "“Duplication may be the root of...",
                    "item": "https://sms4smile.com/quotes/robert-c-martin/duplication-may-be-the-root-of-all-evil-in-software/"
                }
            ],
            "@id": "https://sms4smile.com/quotes/robert-c-martin/duplication-may-be-the-root-of-all-evil-in-software/#breadcrumb"
        },
        {
            "@type": "WebSite",
            "@id": "https://sms4smile.com/quotes/#website",
            "name": "SMS4Smile Quotes",
            "url": "https://sms4smile.com/quotes/",
            "publisher": {
                "@id": "https://sms4smile.com/quotes/#organization"
            }
        },
        {
            "@type": "Organization",
            "@id": "https://sms4smile.com/quotes/#organization",
            "name": "SMS4Smile Quotes",
            "url": "https://sms4smile.com/quotes/",
            "logo": {
                "@type": "ImageObject",
                "url": "https://sms4smile.com/quotes/wp-content/themes/sq/assets/icons/icon-512.png",
                "width": 512,
                "height": 512
            }
        }
    ]
}
```
