---
title: "Meaning & Key Takeaway of: The only way for errors to occur in a…"
description: "\"The only way for errors to occur in a program is by being put there by the author. No other mechanisms are known. Programs can't acquire bugs by sittin..."
image: "https://sms4smile.com/quotes/i/e23/hayley-mills-24080_acquire_the-only-way-for-errors-to-occur-in-a-pr_1868066.jpg"
---

#  The only way for errors to occur in a program is by being…

![“The only way for errors to occur in a program is by being put there by the author. No other mechanisms are known. Programs can't acquire bugs by sitting around with other buggy programs. Right practice aims at preventing insertion of errors and, failing that, removing them before testing or any…” quote by Hayley Mills](https://sms4smile.com/quotes/i/e23/hayley-mills-24080_acquire_the-only-way-for-errors-to-occur-in-a-pr_1868066.jpg)   [Download](https://sms4smile.com/quotes/i/e23/hayley-mills-24080_acquire_the-only-way-for-errors-to-occur-in-a-pr_1868066.jpg) [Open image](https://sms4smile.com/quotes/i/e23/hayley-mills-24080_acquire_the-only-way-for-errors-to-occur-in-a-pr_1868066.jpg)

> “The only way for errors to occur in a program is by being put there by the author. No other mechanisms are known. Programs can't acquire bugs by sitting around with other buggy programs. Right practice aims at preventing insertion of errors and, failing that, removing them before testing or any other running of the program.”

[Hayley Mills](https://sms4smile.com/quotes/author/hayley-mills/)

## About This Quote

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

Errors are introduced by developers, not spontaneously; testing and prevention are essential.

**In simple terms:** Bugs come from the author, not from other programs.

Key Takeaway

Focus on preventing and fixing errors early.

Themes

software quality testing error prevention

Mood

cautious analytical

Type

technical instructional

When to use this quote

- code reviews
- unit testing
- static analysis
- continuous integration

Key Concepts

software engineering bug lifecycle

Questions to Reflect On

- How can you improve error detection?
- What processes reduce accidental bugs?

A Different Perspective

Even with safeguards, human error can still slip through.

★ ★ ★ ★ ★   No ratings yet

[Books](https://sms4smile.com/quotes/about/books/) [Bugs](https://sms4smile.com/quotes/about/bugs/) [Computer language](https://sms4smile.com/quotes/about/computer-language/) [Computer programming](https://sms4smile.com/quotes/about/computer-programming/) [Learning](https://sms4smile.com/quotes/about/learning/) [Practice](https://sms4smile.com/quotes/about/practice/) [Programming](https://sms4smile.com/quotes/about/programming/) [Programming languages](https://sms4smile.com/quotes/about/programming-languages/) [Running](https://sms4smile.com/quotes/about/running/) [Technology](https://sms4smile.com/quotes/about/technology/)

## Related quotes

> [The only way for errors to occur in a program is by being put there by the author. No other mechanisms are known. Programs…](https://sms4smile.com/quotes/harlan-mills/the-only-way-for-errors-to-occur-in-a-program-is-by-being-put-there/)

Harlan Mills

> [Programming is similar to a game of golf. The point is not getting the ball in the hole but how many strokes it takes.](https://sms4smile.com/quotes/hayley-mills/programming-is-similar-to-a-game-of-golf-the-point-is-not-getting-the/)

[Hayley Mills](https://sms4smile.com/quotes/author/hayley-mills/)

> [Beauty is more important in computing than anywhere else in technology because software is so complicated. Beauty is the ultimate defense against complexity. ...…](https://sms4smile.com/quotes/david-gelernter/beauty-is-more-important-in-computing-than-anywhere-else-in-2/)

[David Gelernter](https://sms4smile.com/quotes/author/david-gelernter/)

> [ It's \[programming\] the only job I can think of where I get to be both an engineer and an artist. There's an incredible, rigorous,… ](https://sms4smile.com/quotes/andy-hertzfeld/it-s-programming-the-only-job-i-can-think-of-where-i-get-to-be-both/)

[Andy Hertzfeld](https://sms4smile.com/quotes/author/andy-hertzfeld/)

> [Programming languages, like pizzas, come in only too sizes; too big and too small.](https://sms4smile.com/quotes/richard-e-pattis/programming-languages-like-pizzas-come-in-only-too-sizes-too-big-and/)

[Richard E. Pattis](https://sms4smile.com/quotes/author/richard-e-pattis/)

> [ One purpose of CRC cards \[a design tool\] is to fail early, to fail often, and to fail inexpensively. It is a lot cheaper… ](https://sms4smile.com/quotes/cay-s-horstmann/one-purpose-of-crc-cards-a-design-tool-is-to-fail-early-to-fail-often/)

Cay S. Horstmann

> [Computer Science is the only discipline in which we view adding a new wing to a building as being maintenance.](https://sms4smile.com/quotes/jim-horning/computer-science-is-the-only-discipline-in-which-we-view-adding-a-new/)

[Jim Horning](https://sms4smile.com/quotes/author/jim-horning/)

> [A teacher's job is to take a bunch of live wires and see that they are well-grounded.](https://sms4smile.com/quotes/darwin-d-martin/a-teacher-s-job-is-to-take-a-bunch-of-live-wires-and-see-that-they/)

Darwin D. Martin

> [When certain concepts of TeX are introduced informally, general rules will be stated; afterwards you will find that the rules aren't strictly true. In…](https://sms4smile.com/quotes/donald-knuth/when-certain-concepts-of-tex-are-introduced-informally-general-rules/)

[Donald Knuth](https://sms4smile.com/quotes/author/donald-knuth/)

> [First, we want to establish the idea that a computer language is not just a way of getting a computer to perform operations but…](https://sms4smile.com/quotes/hal-abelson/first-we-want-to-establish-the-idea-that-a-computer-language-is-not/)

[Hal Abelson](https://sms4smile.com/quotes/author/hal-abelson/)

> [The generation of random numbers is too important to be left to chance.](https://sms4smile.com/quotes/robert-coveyou/the-generation-of-random-numbers-is-too-important-to-be-left-to-chance/)

Robert Coveyou

> [Beauty is more important in computing than anywhere else in technology because software is so complicated. Beauty is the ultimate defense against complexity.](https://sms4smile.com/quotes/david-gelernter/beauty-is-more-important-in-computing-than-anywhere-else-in/)

[David Gelernter](https://sms4smile.com/quotes/author/david-gelernter/)

> [I think that it's extraordinarily important that we in computer science keep fun in computing. When it started out, it was an awful lot…](https://sms4smile.com/quotes/alan-perlis/i-think-that-it-s-extraordinarily-important-that-we-in-computer/)

[Alan Perlis](https://sms4smile.com/quotes/author/alan-perlis/)

> [If you cannot grok the overall structure of a program while taking a shower, you are not ready to code it.](https://sms4smile.com/quotes/richard-e-pattis/if-you-cannot-grok-the-overall-structure-of-a-program-while-taking-a/)

[Richard E. Pattis](https://sms4smile.com/quotes/author/richard-e-pattis/)

> [In nine months, a group of children left alone with a computer in any language will reach the same standard as an office secretary…](https://sms4smile.com/quotes/sugata-mitra/in-nine-months-a-group-of-children-left-alone-with-a-computer-in-any/)

[Sugata Mitra](https://sms4smile.com/quotes/author/sugata-mitra/)

## More by Hayley Mills

> [There are some fantastic, brilliant alternative doctors out there.](https://sms4smile.com/quotes/hayley-mills/there-are-some-fantastic-brilliant-alternative-doctors-out-there/)

[Hayley Mills](https://sms4smile.com/quotes/author/hayley-mills/)

> [I cry in movies a lot, and over books.](https://sms4smile.com/quotes/hayley-mills/i-cry-in-movies-a-lot-and-over-books/)

[Hayley Mills](https://sms4smile.com/quotes/author/hayley-mills/)

> [Roses are my favourite flower, and my mum always grew a lot of them.](https://sms4smile.com/quotes/hayley-mills/roses-are-my-favourite-flower-and-my-mum-always-grew-a-lot-of-them/)

[Hayley Mills](https://sms4smile.com/quotes/author/hayley-mills/)

> [It doesn't make sense that there is only one way of dealing with cancer.](https://sms4smile.com/quotes/hayley-mills/it-doesn-t-make-sense-that-there-is-only-one-way-of-dealing-with/)

[Hayley Mills](https://sms4smile.com/quotes/author/hayley-mills/)

> [I have a horror of being in confined spaces.](https://sms4smile.com/quotes/hayley-mills/i-have-a-horror-of-being-in-confined-spaces/)

[Hayley Mills](https://sms4smile.com/quotes/author/hayley-mills/)

> [I'm a lazy creature when I'm not acting.](https://sms4smile.com/quotes/hayley-mills/i-m-a-lazy-creature-when-i-m-not-acting/)

[Hayley Mills](https://sms4smile.com/quotes/author/hayley-mills/)

> [Even when I became the typical shy adolescent, I never minded performing. I felt there was a kind of safety, a protection about being…](https://sms4smile.com/quotes/hayley-mills/even-when-i-became-the-typical-shy-adolescent-i-never-minded/)

[Hayley Mills](https://sms4smile.com/quotes/author/hayley-mills/)

> [My father was an inspiration to me; I made a few movies with him and I loved working with him. Everything about him -…](https://sms4smile.com/quotes/hayley-mills/my-father-was-an-inspiration-to-me-i-made-a-few-movies-with-him-and-i/)

[Hayley Mills](https://sms4smile.com/quotes/author/hayley-mills/)

> [I always say a tremendous amount of healing is in your own hands.](https://sms4smile.com/quotes/hayley-mills/i-always-say-a-tremendous-amount-of-healing-is-in-your-own-hands/)

[Hayley Mills](https://sms4smile.com/quotes/author/hayley-mills/)

> [I admire tremendously those people who work consistently at the same jobs.](https://sms4smile.com/quotes/hayley-mills/i-admire-tremendously-those-people-who-work-consistently-at-the-same/)

[Hayley Mills](https://sms4smile.com/quotes/author/hayley-mills/)

> [Once cancer happens it changes the way you live for the rest of your life.](https://sms4smile.com/quotes/hayley-mills/once-cancer-happens-it-changes-the-way-you-live-for-the-rest-of-your/)

[Hayley Mills](https://sms4smile.com/quotes/author/hayley-mills/)

> [My sons are precious to me and I have tried incredibly hard to strike the right balance between work and home life while being…](https://sms4smile.com/quotes/hayley-mills/my-sons-are-precious-to-me-and-i-have-tried-incredibly-hard-to-strike/)

[Hayley Mills](https://sms4smile.com/quotes/author/hayley-mills/)

> [I live in jeans and own a lot of them. I'm much more comfortable in trousers and T-shirts, and I don't often wear dresses.](https://sms4smile.com/quotes/hayley-mills/i-live-in-jeans-and-own-a-lot-of-them-i-m-much-more-comfortable-in/)

[Hayley Mills](https://sms4smile.com/quotes/author/hayley-mills/)

> [I have a lot of mirrors around my house, not because I like to look at myself, but because I like the light and…](https://sms4smile.com/quotes/hayley-mills/i-have-a-lot-of-mirrors-around-my-house-not-because-i-like-to-look-at/)

[Hayley Mills](https://sms4smile.com/quotes/author/hayley-mills/)

> [I like solitary pursuits, such as reading or pottering about in the garden.](https://sms4smile.com/quotes/hayley-mills/i-like-solitary-pursuits-such-as-reading-or-pottering-about-in-the/)

[Hayley Mills](https://sms4smile.com/quotes/author/hayley-mills/)

[Explore all 25 Hayley Mills quotes ](https://sms4smile.com/quotes/author/hayley-mills/)

## More Acquire quotes

> [Most people seek after what they do not possess and are enslaved by the very things they want to acquire.](https://sms4smile.com/quotes/anwar-sadat/most-people-seek-after-what-they-do-not-possess-and-are-enslaved-by/)

[Anwar Sadat](https://sms4smile.com/quotes/author/anwar-sadat/)

> [ If the State does not acquire supremacy over \[vast private\] enterprises, it becomes their puppet, and they become the real State. ](https://sms4smile.com/quotes/bertrand-russell/if-the-state-does-not-acquire-supremacy-over-vast-private-enterprises/)

[Bertrand Russell](https://sms4smile.com/quotes/author/bertrand-russell/)

> [Humility is an elusive virtue. The more we pursue it - and the more we seem to acquire it - the more we take…](https://sms4smile.com/quotes/mike-aquilina/humility-is-an-elusive-virtue-the-more-we-pursue-it-and-the-more-we/)

[Mike Aquilina](https://sms4smile.com/quotes/author/mike-aquilina/)

> [Acquire worldly wisdom and adjust your behavior accordingly. If your new behavior gives you a little temporary unpopularity with your peer group then to…](https://sms4smile.com/quotes/charlie-munger/acquire-worldly-wisdom-and-adjust-your-behavior-accordingly-if-your/)

[Charlie Munger](https://sms4smile.com/quotes/author/charlie-munger/)

> [This was Shakespeare's form ; Who walk'd in every path of human life, Felt every passion ; and to all mankind Doth now, will…](https://sms4smile.com/quotes/mark-akenside/this-was-shakespeare-s-form-who-walk-d-in-every-path-of-human-life/)

[Mark Akenside](https://sms4smile.com/quotes/author/mark-akenside/)

> [Wasn't Saddam destroyed? Wasn't Gaddafi liquidated? Didn't Milosevic go to the Hague? All true. But Stalin survived. Kim Jong-un isn't doing too badly, either…](https://sms4smile.com/quotes/robert-fisk/wasn-t-saddam-destroyed-wasn-t-gaddafi-liquidated-didn-t-milosevic-go/)

[Robert Fisk](https://sms4smile.com/quotes/author/robert-fisk/)

> [The best way for women to acquire knowledge is from conversation with a father, a brother, or a friend, in the way of family…](https://sms4smile.com/quotes/anna-letitia-barbauld/the-best-way-for-women-to-acquire-knowledge-is-from-conversation-with/)

[Anna Letitia Barbauld](https://sms4smile.com/quotes/author/anna-letitia-barbauld/)

> [Have you ever wanted something so badly that you would do anything, believe anything in order to acquire it?](https://sms4smile.com/quotes/lorraine-heath/have-you-ever-wanted-something-so-badly-that-you-would-do-anything/)

[Lorraine Heath](https://sms4smile.com/quotes/author/lorraine-heath/)

> [Ballet is pure and demands that you serve something larger than yourself, whether it be beauty or art, or a combination of both. It…](https://sms4smile.com/quotes/peter-martins/ballet-is-pure-and-demands-that-you-serve-something-larger-than/)

Peter Martins

> [You can't know it all. No matter how smart you are, no matter how comprehensive your education, no matter how wide ranging your experience,…](https://sms4smile.com/quotes/donald-trump/you-can-t-know-it-all-no-matter-how-smart-you-are-no-matter-how/)

[Donald Trump](https://sms4smile.com/quotes/author/donald-trump/)

> [A better distribution of incomes would increase that efficiency by diverting a great fund of wealth from the useless to the useful members of…](https://sms4smile.com/quotes/walter-lippmann/a-better-distribution-of-incomes-would-increase-that-efficiency-by/)

[Walter Lippmann](https://sms4smile.com/quotes/author/walter-lippmann/)

> [I know well, Monsieur, how much you have to endure in your present duty, and I ask Our Lord to strengthen you in your…](https://sms4smile.com/quotes/vincent-de-paul/i-know-well-monsieur-how-much-you-have-to-endure-in-your-present-duty/)

[Vincent de Paul](https://sms4smile.com/quotes/author/vincent-de-paul/)

> [The enemy's spies who have come to spy on us must be sought out, tempted with bribes, led away and comfortably housed. Thus they…](https://sms4smile.com/quotes/sun-tzu/the-enemy-s-spies-who-have-come-to-spy-on-us-must-be-sought-out/)

[Sun Tzu](https://sms4smile.com/quotes/author/sun-tzu/)

> [In the late 1950s a major topic under discussion was whether Canada should acquire nuclear weapons.](https://sms4smile.com/quotes/john-charles-polanyi/in-the-late-1950s-a-major-topic-under-discussion-was-whether-canada/)

[John Charles Polanyi](https://sms4smile.com/quotes/author/john-charles-polanyi/)

> [Shamanism is a path of knowledge, not of faith, and that knowledge cannot come from me or anyone else in this reality. To acquire…](https://sms4smile.com/quotes/michael-harner/shamanism-is-a-path-of-knowledge-not-of-faith-and-that-knowledge/)

[Michael Harner](https://sms4smile.com/quotes/author/michael-harner/)

Browse all 1,020 Acquire quotes

```json
{
    "@context": "https://schema.org",
    "@graph": [
        {
            "@type": "Quotation",
            "text": "The only way for errors to occur in a program is by being put there by the author. No other mechanisms are known. Programs can't acquire bugs by sitting around with other buggy programs. Right practice aims at preventing insertion of errors and, failing that, removing them before testing or any other running of the program.",
            "creator": {
                "@type": "Person",
                "name": "Hayley Mills"
            },
            "isPartOf": {
                "@id": "https://sms4smile.com/quotes/#website"
            },
            "url": "https://sms4smile.com/quotes/hayley-mills/the-only-way-for-errors-to-occur-in-a-program-is-by-being-put-there-2/",
            "about": {
                "@type": "Thing",
                "name": "Acquire"
            },
            "@id": "https://sms4smile.com/quotes/hayley-mills/the-only-way-for-errors-to-occur-in-a-program-is-by-being-put-there-2/#quotation",
            "image": {
                "@type": "ImageObject",
                "@id": "https://sms4smile.com/quotes/i/e23/hayley-mills-24080_acquire_the-only-way-for-errors-to-occur-in-a-pr_1868066.jpg",
                "contentUrl": "https://sms4smile.com/quotes/i/e23/hayley-mills-24080_acquire_the-only-way-for-errors-to-occur-in-a-pr_1868066.jpg",
                "url": "https://sms4smile.com/quotes/i/e23/hayley-mills-24080_acquire_the-only-way-for-errors-to-occur-in-a-pr_1868066.jpg",
                "width": 1080,
                "height": 1080,
                "caption": "“The only way for errors to occur in a program is by being put there by the author. No other mechanisms are…” — Hayley Mills",
                "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": "Hayley Mills",
                    "item": "https://sms4smile.com/quotes/author/hayley-mills/"
                },
                {
                    "@type": "ListItem",
                    "position": 4,
                    "name": "The only way for errors to...",
                    "item": "https://sms4smile.com/quotes/hayley-mills/the-only-way-for-errors-to-occur-in-a-program-is-by-being-put-there-2/"
                }
            ],
            "@id": "https://sms4smile.com/quotes/hayley-mills/the-only-way-for-errors-to-occur-in-a-program-is-by-being-put-there-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
            }
        }
    ]
}
```
