---
title: "Meaning & Key Takeaway of: Clean code is not written by following a…"
description: "\"“Clean code is not written by following a set of rules. You don’t become a software craftsman by learning a list of heuristics. Professionalism and cra..."
image: "https://sms4smile.com/quotes/i/1e9/robert-c-martin-18499_programming_clean-code-is-not-written-by-following-a_2572802.jpg"
---

#  Clean code is not written by following a set of rules. You…

![“Clean code is not written by following a set of rules. You don’t become a software craftsman by learning a list of heuristics. Professionalism and craftsmanship come from values that drive disciplines.” quote by Robert C. Martin](https://sms4smile.com/quotes/i/1e9/robert-c-martin-18499_programming_clean-code-is-not-written-by-following-a_2572802.jpg)   [Download](https://sms4smile.com/quotes/i/1e9/robert-c-martin-18499_programming_clean-code-is-not-written-by-following-a_2572802.jpg) [Open image](https://sms4smile.com/quotes/i/1e9/robert-c-martin-18499_programming_clean-code-is-not-written-by-following-a_2572802.jpg)

> ““Clean code is not written by following a set of rules. You don’t become a software craftsman by learning a list of heuristics. Professionalism and craftsmanship come from values that drive disciplines.””

[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.

Professional software development stems from core values and discipline, not just a checklist of rules.

**In simple terms:** Values drive craftsmanship, not rules.

Key Takeaway

Cultivate values, not just rules.

Themes

craftsmanship professionalism values

Mood

reflective motivational

Type

philosophical inspirational

When to use this quote

- team code reviews
- mentor training
- personal development
- process improvement

Key Concepts

software engineering ethics discipline

Questions to Reflect On

- What values guide your coding?
- How do you embed discipline in daily work?

A Different Perspective

Rules alone cannot guarantee quality without underlying values.

★ ★ ★ ★ ★   No ratings yet

[Clean Code](https://sms4smile.com/quotes/about/clean-code-219632/) [Code Written](https://sms4smile.com/quotes/about/code-written-1707065/) [Heuristics Professionalism](https://sms4smile.com/quotes/about/heuristics-professionalism-1707063/) [Professionalism Craftsmanship](https://sms4smile.com/quotes/about/professionalism-craftsmanship-1707064/) [Programming](https://sms4smile.com/quotes/about/programming/) [Software Craftsman](https://sms4smile.com/quotes/about/software-craftsman-1707062/) [Software-craftmanship](https://sms4smile.com/quotes/about/software-craftmanship-173563/) [Technology](https://sms4smile.com/quotes/about/technology/)

## Related quotes

> [“Lots of very funny code is written because people don’t take the time to understand the algorithm.”](https://sms4smile.com/quotes/robert-c-martin/lots-of-very-funny-code-is-written-because-people-don-t-take-the-time/)

[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/)

> [“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/)

> [“Redundant comments are just places to collect lies and misinformation.”](https://sms4smile.com/quotes/robert-c-martin/redundant-comments-are-just-places-to-collect-lies-and-misinformation/)

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

> [We mustn't forget we chose the name 'WWW' before there was even one line of code written. We could do that because the Internet…](https://sms4smile.com/quotes/robert-cailliau/we-mustn-t-forget-we-chose-the-name-www-before-there-was-even-one/)

[Robert Cailliau](https://sms4smile.com/quotes/author/robert-cailliau/)

> [“It’s usually not a good idea to stop doing features entirely, to “clean up” the code. It might be, but I’d bet it isn’t.”](https://sms4smile.com/quotes/anonymous/it-s-usually-not-a-good-idea-to-stop-doing-features-entirely-to-clean/)

[Anonymous](https://sms4smile.com/quotes/author/anonymous/)

> [“if you can clean the code, you can keep the development team from bogging down into the typical Big Ball of Mud. You can…](https://sms4smile.com/quotes/anonymous/if-you-can-clean-the-code-you-can-keep-the-development-team-from/)

[Anonymous](https://sms4smile.com/quotes/author/anonymous/)

> [“Software will give you respect, but hardware will give you the Power.”](https://sms4smile.com/quotes/akshat-paul/software-will-give-you-respect-but-hardware-will-give-you-the-power/)

[Akshat Paul](https://sms4smile.com/quotes/author/akshat-paul/)

> [“Don’t comment bad code—rewrite it.”](https://sms4smile.com/quotes/brian-w-kernighan/don-t-comment-bad-code-rewrite-it/)

[Brian W. Kernighan](https://sms4smile.com/quotes/author/brian-w-kernighan/)

## 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/)

> [“Duplication may be the root of all evil in software.”](https://sms4smile.com/quotes/robert-c-martin/duplication-may-be-the-root-of-all-evil-in-software/)

[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/)

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

## More Programming quotes

> [Of everything I have done, 'The Archers' always gets the most excitement; there's a sort of uncontrollable joy from fans of the program.](https://sms4smile.com/quotes/felicity-jones/of-everything-i-have-done-the-archers-always-gets-the-most-excitement/)

[Felicity Jones](https://sms4smile.com/quotes/author/felicity-jones/)

> [When we shipped 'Borderlands 2,' we didn't ship it with a plan of how the level cap was going to increase. We didn't have…](https://sms4smile.com/quotes/randy-pitchford/when-we-shipped-borderlands-2-we-didn-t-ship-it-with-a-plan-of-how/)

[Randy Pitchford](https://sms4smile.com/quotes/author/randy-pitchford/)

> [It is no secret that I have read 'The Da Vinci Code' several times. I genuinely believe that 'The Da Vinci Code' and 'Angels…](https://sms4smile.com/quotes/ashwin-sanghi/it-is-no-secret-that-i-have-read-the-da-vinci-code-several-times-i/)

[Ashwin Sanghi](https://sms4smile.com/quotes/author/ashwin-sanghi/)

> [“Check the program before you two start undressing and...well, doing whatever freaky shit you talked Harley into.” I”](https://sms4smile.com/quotes/james-cox/check-the-program-before-you-two-start-undressing-and-well-doing/)

[James Cox](https://sms4smile.com/quotes/author/james-cox/)

> [Programmers are always surrounded by complexity; we cannot avoid it… If our basic tool, the language in which we design and code our programs,…](https://sms4smile.com/quotes/tony-hoare/programmers-are-always-surrounded-by-complexity-we-cannot-avoid-it-if/)

[Tony Hoare](https://sms4smile.com/quotes/author/tony-hoare/)

> [One of my most productive days was throwing away 1,000 lines of code.](https://sms4smile.com/quotes/ken-thompson/one-of-my-most-productive-days-was-throwing-away-1-000-lines-of-code/)

[Ken Thompson](https://sms4smile.com/quotes/author/ken-thompson/)

> [Writing code means always having to say you're sorry.](https://sms4smile.com/quotes/paul-ford/writing-code-means-always-having-to-say-you-re-sorry/)

[Paul Ford](https://sms4smile.com/quotes/author/paul-ford/)

> [Limit use of shareware and public domain software to systems without fixed disks. If you do use them on fixed disks, allocate separate subdirectories...…](https://sms4smile.com/quotes/john-mcafee/limit-use-of-shareware-and-public-domain-software-to-systems-without/)

[John McAfee](https://sms4smile.com/quotes/author/john-mcafee/)

> [I'm publicist, patron of nine charities, creative director, food consultant, recipe developer - and mum.](https://sms4smile.com/quotes/jack-monroe/i-m-publicist-patron-of-nine-charities-creative-director-food/)

[Jack Monroe](https://sms4smile.com/quotes/author/jack-monroe/)

> [With VR, we have this same vision, which is create this ultimate platform for sharing your imagination. Our huge community of 300,000 developers creates…](https://sms4smile.com/quotes/david-baszucki/with-vr-we-have-this-same-vision-which-is-create-this-ultimate/)

[David Baszucki](https://sms4smile.com/quotes/author/david-baszucki/)

> [It would be a piece of ingenuousness to accuse the man of today of his lack of moral code. The accusation would leave him…](https://sms4smile.com/quotes/jose-ortega-y-gasset/it-would-be-a-piece-of-ingenuousness-to-accuse-the-man-of-today-of/)

[Jose Ortega y Gasset](https://sms4smile.com/quotes/author/jose-ortega-y-gasset/)

> [A lot of the kids gave a lot of positive feedback about if I ever became a coach, they would love to play in…](https://sms4smile.com/quotes/penny-hardaway/a-lot-of-the-kids-gave-a-lot-of-positive-feedback-about-if-i-ever/)

[Penny Hardaway](https://sms4smile.com/quotes/author/penny-hardaway/)

> [I loved 'Chicago Code;' I watched that a lot. It was great because it really captured the city - I'm from Chicago, too.](https://sms4smile.com/quotes/jessy-schram/i-loved-chicago-code-i-watched-that-a-lot-it-was-great-because-it/)

[Jessy Schram](https://sms4smile.com/quotes/author/jessy-schram/)

> [I kind of pride myself on coming onto things that are well-oiled machines and finding a way to bring what I bring and fit…](https://sms4smile.com/quotes/rob-lowe/i-kind-of-pride-myself-on-coming-onto-things-that-are-well-oiled/)

[Rob Lowe](https://sms4smile.com/quotes/author/rob-lowe/)

> [“By rendering the model in ASN.1, the NCBI created a system that combined objects (DNA sequences, protein sequences, references, sequence features) from a variety…](https://sms4smile.com/quotes/anonymous/by-rendering-the-model-in-asn-1-the-ncbi-created-a-system-that/)

[Anonymous](https://sms4smile.com/quotes/author/anonymous/)

[Browse all 6,477 Programming quotes ](https://sms4smile.com/quotes/about/programming/)

```json
{
    "@context": "https://schema.org",
    "@graph": [
        {
            "@type": "Quotation",
            "text": "“Clean code is not written by following a set of rules. You don’t become a software craftsman by learning a list of heuristics. Professionalism and craftsmanship come from values that drive disciplines.”",
            "creator": {
                "@type": "Person",
                "name": "Robert C. Martin"
            },
            "isPartOf": {
                "@id": "https://sms4smile.com/quotes/#website"
            },
            "url": "https://sms4smile.com/quotes/robert-c-martin/clean-code-is-not-written-by-following-a-set-of-rules-you-don-t/",
            "about": {
                "@type": "Thing",
                "name": "Programming"
            },
            "@id": "https://sms4smile.com/quotes/robert-c-martin/clean-code-is-not-written-by-following-a-set-of-rules-you-don-t/#quotation",
            "image": {
                "@type": "ImageObject",
                "@id": "https://sms4smile.com/quotes/i/1e9/robert-c-martin-18499_programming_clean-code-is-not-written-by-following-a_2572802.jpg",
                "contentUrl": "https://sms4smile.com/quotes/i/1e9/robert-c-martin-18499_programming_clean-code-is-not-written-by-following-a_2572802.jpg",
                "url": "https://sms4smile.com/quotes/i/1e9/robert-c-martin-18499_programming_clean-code-is-not-written-by-following-a_2572802.jpg",
                "width": 1080,
                "height": 1080,
                "caption": "“Clean code is not written by following a set of rules. You don’t become a software craftsman by learning a…” — 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": "“Clean code is not written by...",
                    "item": "https://sms4smile.com/quotes/robert-c-martin/clean-code-is-not-written-by-following-a-set-of-rules-you-don-t/"
                }
            ],
            "@id": "https://sms4smile.com/quotes/robert-c-martin/clean-code-is-not-written-by-following-a-set-of-rules-you-don-t/#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
            }
        }
    ]
}
```
