---
title: "Meaning & Key Takeaway of: You can't trust code that you did not…"
description: "\"You can't trust code that you did not totally create yourself.\" — Ken Thompson"
image: "https://sms4smile.com/quotes/i/98a/ken-thompson-15903_code_you-can-t-trust-code-that-you-did-not-to_1617390.jpg"
---

#  You can't trust code that you did not totally create…

![“You can't trust code that you did not totally create yourself.” quote by Ken Thompson](https://sms4smile.com/quotes/i/98a/ken-thompson-15903_code_you-can-t-trust-code-that-you-did-not-to_1617390.jpg)   [Download](https://sms4smile.com/quotes/i/98a/ken-thompson-15903_code_you-can-t-trust-code-that-you-did-not-to_1617390.jpg) [Open image](https://sms4smile.com/quotes/i/98a/ken-thompson-15903_code_you-can-t-trust-code-that-you-did-not-to_1617390.jpg)

> “You can't trust code that you did not totally create yourself.”

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

## About This Quote

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

Only code you fully understand and control can be trusted; reliance on others' code invites risk.

**In simple terms:** Trust only code you fully understand.

Key Takeaway

Write and review your own code.

Themes

trust software control security

Mood

pragmatic cautious

Type

technical professional

When to use this quote

- open‑source contributions
- team projects
- critical systems

Key Concepts

software engineering risk management ownership

Questions to Reflect On

- How do you verify third‑party code?
- When is it okay to rely on others' code?

A Different Perspective

Collaboration can improve code quality despite trust concerns.

★ ★ ★ ★ ★   No ratings yet

[Code](https://sms4smile.com/quotes/about/code/) [Programming](https://sms4smile.com/quotes/about/programming/) [Trust](https://sms4smile.com/quotes/about/trust/)

## Related quotes

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

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

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

> [It's time to create an Economic Growth Code whose purpose is to fix and grow the economy, not redistribute massive amounts of wealth.](https://sms4smile.com/quotes/ari-fleischer/it-s-time-to-create-an-economic-growth-code-whose-purpose-is-to-fix/)

[Ari Fleischer](https://sms4smile.com/quotes/author/ari-fleischer/)

> [It is a well-settled principle of the international code that where one nation owes another a liquidated debt which it refuses or neglects to…](https://sms4smile.com/quotes/andrew-jackson/it-is-a-well-settled-principle-of-the-international-code-that-where/)

[Andrew Jackson](https://sms4smile.com/quotes/author/andrew-jackson/)

> [Your zip code or your income level should not dictate your access to healthy drinking water.](https://sms4smile.com/quotes/alex-padilla/your-zip-code-or-your-income-level-should-not-dictate-your-access-to/)

[Alex Padilla](https://sms4smile.com/quotes/author/alex-padilla/)

> [In open source, you really have to be near the watershed to have an impact on the source code. Customers want to be near…](https://sms4smile.com/quotes/peter-fenton/in-open-source-you-really-have-to-be-near-the-watershed-to-have-an/)

[Peter Fenton](https://sms4smile.com/quotes/author/peter-fenton/)

> [ \[T\]he tax code has been piling up, year after year, a symbol of everything gone wrong in America, of arrogant rulers and lost freedom,… ](https://sms4smile.com/quotes/dick-armey/t-he-tax-code-has-been-piling-up-year-after-year-a-symbol-of/)

[Dick Armey](https://sms4smile.com/quotes/author/dick-armey/)

> [The tax code is 10 times the size of the Bible with none of the good news.](https://sms4smile.com/quotes/paul-ryan/the-tax-code-is-10-times-the-size-of-the-bible-with-none-of-the-good/)

[Paul Ryan](https://sms4smile.com/quotes/author/paul-ryan/)

> [When we're done simplifying the tax code, getting the lobbyist carve outs our of the tax code, lowering our rates and letting people have…](https://sms4smile.com/quotes/paul-ryan/when-we-re-done-simplifying-the-tax-code-getting-the-lobbyist-carve/)

[Paul Ryan](https://sms4smile.com/quotes/author/paul-ryan/)

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

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

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

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

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

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

## More by Ken Thompson

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

> [There's a lot of power in executing data - generating data and executing data.](https://sms4smile.com/quotes/ken-thompson/there-s-a-lot-of-power-in-executing-data-generating-data-and/)

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

> [One is that the perfect garden can be created overnight, which it can't.](https://sms4smile.com/quotes/ken-thompson/one-is-that-the-perfect-garden-can-be-created-overnight-which-it-can-t/)

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

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

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

> [I am a programmer.](https://sms4smile.com/quotes/ken-thompson/i-am-a-programmer/)

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

> [It's always good to take an orthogonal view of something. It develops ideas.](https://sms4smile.com/quotes/ken-thompson/it-s-always-good-to-take-an-orthogonal-view-of-something-it-develops/)

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

> [I view Linux as something that's not Microsoft - a backlash against Microsoft, no more and no less.](https://sms4smile.com/quotes/ken-thompson/i-view-linux-as-something-that-s-not-microsoft-a-backlash-against/)

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

> [It is only the inadequacy of the criminal code that saves the hackers from very serious prosecution.](https://sms4smile.com/quotes/ken-thompson/it-is-only-the-inadequacy-of-the-criminal-code-that-saves-the-hackers/)

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

> [I think the major good idea in Unix was its clean and simple interface: open, close, read, and write.](https://sms4smile.com/quotes/ken-thompson/i-think-the-major-good-idea-in-unix-was-its-clean-and-simple/)

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

> [Grant, if we edited Fortran, I assume that you'd put a column thing in there.](https://sms4smile.com/quotes/ken-thompson/grant-if-we-edited-fortran-i-assume-that-you-d-put-a-column-thing-in/)

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

> [If you want to go somewhere, goto is the best way to get there.](https://sms4smile.com/quotes/ken-thompson/if-you-want-to-go-somewhere-goto-is-the-best-way-to-get-there/)

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

> [I don't think there are many people up in research who have strong ideas about things that they haven't really had experience with.](https://sms4smile.com/quotes/ken-thompson/i-don-t-think-there-are-many-people-up-in-research-who-have-strong/)

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

> [We tried to avoid, you know, records. We were told over and over that was probably the most serious mistake and the reason was…](https://sms4smile.com/quotes/ken-thompson/we-tried-to-avoid-you-know-records-we-were-told-over-and-over-that/)

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

> [In fact, we started off with two or three different shells and the shell had life of its own.](https://sms4smile.com/quotes/ken-thompson/in-fact-we-started-off-with-two-or-three-different-shells-and-the/)

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

> [The average gardener probably knows little about what is going on in his or her garden.](https://sms4smile.com/quotes/ken-thompson/the-average-gardener-probably-knows-little-about-what-is-going-on-in/)

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

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

## More Code quotes

> [At the deepest level, all living things that have ever been looked at have the same DNA code. And many of the same genes.](https://sms4smile.com/quotes/richard-dawkins/at-the-deepest-level-all-living-things-that-have-ever-been-looked-at/)

[Richard Dawkins](https://sms4smile.com/quotes/author/richard-dawkins/)

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

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

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

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

> [When we're done simplifying the tax code, getting the lobbyist carve outs our of the tax code, lowering our rates and letting people have…](https://sms4smile.com/quotes/paul-ryan/when-we-re-done-simplifying-the-tax-code-getting-the-lobbyist-carve/)

[Paul Ryan](https://sms4smile.com/quotes/author/paul-ryan/)

> [The tax code is 10 times the size of the Bible with none of the good news.](https://sms4smile.com/quotes/paul-ryan/the-tax-code-is-10-times-the-size-of-the-bible-with-none-of-the-good/)

[Paul Ryan](https://sms4smile.com/quotes/author/paul-ryan/)

> [The Cheney team had, for example, technological supremacy over the National Security Council staff. That is to say, they could read their e-mails. I…](https://sms4smile.com/quotes/lawrence-wilkerson/the-cheney-team-had-for-example-technological-supremacy-over-the/)

[Lawrence Wilkerson](https://sms4smile.com/quotes/author/lawrence-wilkerson/)

> [ \[T\]he tax code has been piling up, year after year, a symbol of everything gone wrong in America, of arrogant rulers and lost freedom,… ](https://sms4smile.com/quotes/dick-armey/t-he-tax-code-has-been-piling-up-year-after-year-a-symbol-of/)

[Dick Armey](https://sms4smile.com/quotes/author/dick-armey/)

> [In open source, you really have to be near the watershed to have an impact on the source code. Customers want to be near…](https://sms4smile.com/quotes/peter-fenton/in-open-source-you-really-have-to-be-near-the-watershed-to-have-an/)

[Peter Fenton](https://sms4smile.com/quotes/author/peter-fenton/)

> [We can use our art to become political, to become something you want to talk about. We make clothes, but we have the chance…](https://sms4smile.com/quotes/olivier-rousteing/we-can-use-our-art-to-become-political-to-become-something-you-want/)

[Olivier Rousteing](https://sms4smile.com/quotes/author/olivier-rousteing/)

> [Your zip code or your income level should not dictate your access to healthy drinking water.](https://sms4smile.com/quotes/alex-padilla/your-zip-code-or-your-income-level-should-not-dictate-your-access-to/)

[Alex Padilla](https://sms4smile.com/quotes/author/alex-padilla/)

[Browse all 1,662 Code quotes ](https://sms4smile.com/quotes/about/code/)

```json
{
    "@context": "https://schema.org",
    "@graph": [
        {
            "@type": "Quotation",
            "text": "You can't trust code that you did not totally create yourself.",
            "creator": {
                "@type": "Person",
                "name": "Ken Thompson"
            },
            "isPartOf": {
                "@id": "https://sms4smile.com/quotes/#website"
            },
            "url": "https://sms4smile.com/quotes/ken-thompson/you-can-t-trust-code-that-you-did-not-totally-create-yourself-2/",
            "about": {
                "@type": "Thing",
                "name": "Code"
            },
            "@id": "https://sms4smile.com/quotes/ken-thompson/you-can-t-trust-code-that-you-did-not-totally-create-yourself-2/#quotation",
            "image": {
                "@type": "ImageObject",
                "@id": "https://sms4smile.com/quotes/i/98a/ken-thompson-15903_code_you-can-t-trust-code-that-you-did-not-to_1617390.jpg",
                "contentUrl": "https://sms4smile.com/quotes/i/98a/ken-thompson-15903_code_you-can-t-trust-code-that-you-did-not-to_1617390.jpg",
                "url": "https://sms4smile.com/quotes/i/98a/ken-thompson-15903_code_you-can-t-trust-code-that-you-did-not-to_1617390.jpg",
                "width": 1080,
                "height": 1080,
                "caption": "“You can't trust code that you did not totally create yourself.” — Ken Thompson",
                "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": "Ken Thompson",
                    "item": "https://sms4smile.com/quotes/author/ken-thompson/"
                },
                {
                    "@type": "ListItem",
                    "position": 4,
                    "name": "You can't trust code that you...",
                    "item": "https://sms4smile.com/quotes/ken-thompson/you-can-t-trust-code-that-you-did-not-totally-create-yourself-2/"
                }
            ],
            "@id": "https://sms4smile.com/quotes/ken-thompson/you-can-t-trust-code-that-you-did-not-totally-create-yourself-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
            }
        }
    ]
}
```
