---
title: "Meaning & Key Takeaway of: Always code as if the guy who ends up…"
description: "\"“Always code as if the guy who ends up maintaining your code will be a violent psychopath who knows where you live”\" — John Woods"
image: "https://sms4smile.com/quotes/i/557/john-woods-100918_programming_always-code-as-if-the-guy-who-ends-up-ma_2239320.jpg"
---

#  Always code as if the guy who ends up maintaining your…

![“Always code as if the guy who ends up maintaining your code will be a violent psychopath who knows where you live” quote by John Woods](https://sms4smile.com/quotes/i/557/john-woods-100918_programming_always-code-as-if-the-guy-who-ends-up-ma_2239320.jpg)   [Download](https://sms4smile.com/quotes/i/557/john-woods-100918_programming_always-code-as-if-the-guy-who-ends-up-ma_2239320.jpg) [Open image](https://sms4smile.com/quotes/i/557/john-woods-100918_programming_always-code-as-if-the-guy-who-ends-up-ma_2239320.jpg)

> ““Always code as if the guy who ends up maintaining your code will be a violent psychopath who knows where you live””

John Woods

## About This Quote

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

Programmers should write code assuming future maintainers may be hostile, encouraging clean, defensive coding.

**In simple terms:** Write code as if the maintainer is a violent psychopath.

Key Takeaway

Prioritize readability and safety.

Themes

programming maintenance security defensiveness

Mood

cautious practical serious

Type

Programming:1 Psychopath:0 Code Guy:0 Code Violent:0 Psychopath Knows:0 Violent Psychopath:0

When to use this quote

- software development
- team collaboration
- code reviews

Key Concepts

code quality risk management software hygiene

Questions to Reflect On

- How do you balance safety with readability?
- What practices reduce maintenance pain?

A Different Perspective

Exaggerated metaphor may cause anxiety.

★ ★ ★ ★ ★   No ratings yet

[Programming](https://sms4smile.com/quotes/about/programming/) [Psychopath](https://sms4smile.com/quotes/about/psychopath/)

## Related quotes

> [“Always code as if the guy who ends up maintaining your code will be a violent psychopath who knows where you live. --John Woods…](https://sms4smile.com/quotes/jeff-knupp/always-code-as-if-the-guy-who-ends-up-maintaining-your-code-will-be-a/)

Jeff Knupp

> [“The story about Bessie Goldberg that I heard from my parents was that a nice old lady had been killed down the street and…](https://sms4smile.com/quotes/sebastian-junger/the-story-about-bessie-goldberg-that-i-heard-from-my-parents-was-that/)

[Sebastian Junger](https://sms4smile.com/quotes/author/sebastian-junger/)

> [Code as if the next guy to maintain your code is a homicidal maniac who knows where you live.](https://sms4smile.com/quotes/kathy-sierra/code-as-if-the-next-guy-to-maintain-your-code-is-a-homicidal-maniac/)

[Kathy Sierra](https://sms4smile.com/quotes/author/kathy-sierra/)

> [Every show that I have been blessed to do I just get fun out of it like 'Girl Code/Guy Code'.](https://sms4smile.com/quotes/andrew-schulz/every-show-that-i-have-been-blessed-to-do-i-just-get-fun-out-of-it/)

[Andrew Schulz](https://sms4smile.com/quotes/author/andrew-schulz/)

> [It is the cult of self that is killing the United States. This cult has within it the classic traits of psychopaths: superficial charm,…](https://sms4smile.com/quotes/chris-hedges/it-is-the-cult-of-self-that-is-killing-the-united-states-this-cult/)

[Chris Hedges](https://sms4smile.com/quotes/author/chris-hedges/)

> [Usually sociopaths will look down upon us for that very reason - that we're gullible. We're weak. One person told me that he thought…](https://sms4smile.com/quotes/martha-stout/usually-sociopaths-will-look-down-upon-us-for-that-very-reason-that/)

[Martha Stout](https://sms4smile.com/quotes/author/martha-stout/)

> [Language and words for psychopaths are only word deep; there is no emotional colouring behind it. A psychopath can use a word like, ‘I…](https://sms4smile.com/quotes/robert-d-hare/language-and-words-for-psychopaths-are-only-word-deep-there-is-no/)

[Robert D. Hare](https://sms4smile.com/quotes/author/robert-d-hare/)

> [“Let’s take a quick look at what a psychopath is. Although the American Psychiatric Association (APA) no longer uses this term, much of the…](https://sms4smile.com/quotes/robert-kirkconnell/let-s-take-a-quick-look-at-what-a-psychopath-is-although-the-american/)

Robert Kirkconnell

> [“I'm not a psychopath, I'm a high-functioning sociopath. Do your research.”](https://sms4smile.com/quotes/steven-moffat/i-m-not-a-psychopath-i-m-a-high-functioning-sociopath-do-your-research/)

[Steven Moffat](https://sms4smile.com/quotes/author/steven-moffat/)

> [It is not difficult to destroy Islam. Islam is the pumped up ego of a megalomaniac psychopath. Muhammad was a narcissist madman. Just as…](https://sms4smile.com/quotes/ali-sina/it-is-not-difficult-to-destroy-islam-islam-is-the-pumped-up-ego-of-a/)

[Ali Sina](https://sms4smile.com/quotes/author/ali-sina/)

> [“We’re used to the film versions of psychopaths. The clearly crazies. But most psychopaths are clever. They have to be. They know how to…](https://sms4smile.com/quotes/louise-penny/we-re-used-to-the-film-versions-of-psychopaths-the-clearly-crazies/)

[Louise Penny](https://sms4smile.com/quotes/author/louise-penny/)

> [McCain might have suffered hardships in his life, but what had happened to him had nothing to do with his background or his color;…](https://sms4smile.com/quotes/anthony-horowitz/mccain-might-have-suffered-hardships-in-his-life-but-what-had/)

[Anthony Horowitz](https://sms4smile.com/quotes/author/anthony-horowitz/)

> [“Nothing shows lack of conscience better than bold-faced lying.”](https://sms4smile.com/quotes/anonymous/nothing-shows-lack-of-conscience-better-than-bold-faced-lying/)

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

> [I would hesitate to tell people to stop being kind or sympathetic to sociopath. But just like loyalty, some things that can be taken…](https://sms4smile.com/quotes/martha-stout/i-would-hesitate-to-tell-people-to-stop-being-kind-or-sympathetic-to/)

[Martha Stout](https://sms4smile.com/quotes/author/martha-stout/)

> [Trying to prove you’re not a psychopath is even harder than trying to prove you’re not mentally ill,’ said Tony.](https://sms4smile.com/quotes/jon-ronson/trying-to-prove-you-re-not-a-psychopath-is-even-harder-than-trying-to/)

[Jon Ronson](https://sms4smile.com/quotes/author/jon-ronson/)

## More by John Woods

> [“Not every clocktick needs a martyr.”](https://sms4smile.com/quotes/john-woods/not-every-clocktick-needs-a-martyr/)

John Woods

Explore all 2 John Woods quotes

## 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": "“Always code as if the guy who ends up maintaining your code will be a violent psychopath who knows where you live”",
            "creator": {
                "@type": "Person",
                "name": "John Woods"
            },
            "isPartOf": {
                "@id": "https://sms4smile.com/quotes/#website"
            },
            "url": "https://sms4smile.com/quotes/john-woods/always-code-as-if-the-guy-who-ends-up-maintaining-your-code-will-be-a-2/",
            "about": {
                "@type": "Thing",
                "name": "Programming"
            },
            "@id": "https://sms4smile.com/quotes/john-woods/always-code-as-if-the-guy-who-ends-up-maintaining-your-code-will-be-a-2/#quotation",
            "image": {
                "@type": "ImageObject",
                "@id": "https://sms4smile.com/quotes/i/557/john-woods-100918_programming_always-code-as-if-the-guy-who-ends-up-ma_2239320.jpg",
                "contentUrl": "https://sms4smile.com/quotes/i/557/john-woods-100918_programming_always-code-as-if-the-guy-who-ends-up-ma_2239320.jpg",
                "url": "https://sms4smile.com/quotes/i/557/john-woods-100918_programming_always-code-as-if-the-guy-who-ends-up-ma_2239320.jpg",
                "width": 1080,
                "height": 1080,
                "caption": "“Always code as if the guy who ends up maintaining your code will be a violent psychopath who knows where you…” — John Woods",
                "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": "John Woods",
                    "item": "https://sms4smile.com/quotes/author/john-woods/"
                },
                {
                    "@type": "ListItem",
                    "position": 4,
                    "name": "“Always code as if the guy...",
                    "item": "https://sms4smile.com/quotes/john-woods/always-code-as-if-the-guy-who-ends-up-maintaining-your-code-will-be-a-2/"
                }
            ],
            "@id": "https://sms4smile.com/quotes/john-woods/always-code-as-if-the-guy-who-ends-up-maintaining-your-code-will-be-a-2/#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
            }
        }
    ]
}
```
