---
title: "Meaning & Key Takeaway of: The discipline of programming is most…"
description: "\"The discipline of programming is most like sorcery. Both use precise language to instruct inanimate objects to do our bidding. Small mistakes in progra..."
image: "https://sms4smile.com/quotes/i/cb8/richard-e-pattis-41876_appetite_the-discipline-of-programming-is-most-li_1832659.png"
---

#  The discipline of programming is most like sorcery. Both…

![“The discipline of programming is most like sorcery. Both use precise language to instruct inanimate objects to do our bidding. Small mistakes in programs or spells can lead to completely unforseen behavior: e.g., see the story, &quot;The Sorcerer's Apprentice&quot;. Neither study is easy: &quot;...her…” quote by Richard E. Pattis](https://sms4smile.com/quotes/i/cb8/richard-e-pattis-41876_appetite_the-discipline-of-programming-is-most-li_1832659.png)   [Download](https://sms4smile.com/quotes/i/cb8/richard-e-pattis-41876_appetite_the-discipline-of-programming-is-most-li_1832659.png) [Open image](https://sms4smile.com/quotes/i/cb8/richard-e-pattis-41876_appetite_the-discipline-of-programming-is-most-li_1832659.png)

> “The discipline of programming is most like sorcery. Both use precise language to instruct inanimate objects to do our bidding. Small mistakes in programs or spells can lead to completely unforseen behavior: e.g., see the story, "The Sorcerer's Apprentice". Neither study is easy: "...her \[Galinda's\] early appetite for sorcery had waned once she'd heard what a grind it was to learn spells and, worse, to understand them." from the book "Wicked" by G. Maguire.”

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

## About This Quote

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

Programming and magic share precise language; tiny errors can cause unexpected outcomes, demanding careful study and mastery.

**In simple terms:** Both require exact language; small errors cause big problems.

Key Takeaway

Master the language, test thoroughly.

Themes

precision language error mastery

Mood

curious analytical

Type

technical inspirational

When to use this quote

- software development
- game design
- automation
- teaching programming

Key Concepts

syntax logic spellcraft

Questions to Reflect On

- How do you catch hidden bugs?
- What parallels exist between debugging and spellcasting?

A Different Perspective

Even perfect code can behave unpredictably due to hidden interactions.

★ ★ ★ ★ ★   No ratings yet

[Appetite](https://sms4smile.com/quotes/about/appetite/) [Apprentice](https://sms4smile.com/quotes/about/apprentice/) [Behavior](https://sms4smile.com/quotes/about/behavior/) [Book](https://sms4smile.com/quotes/about/book/) [Computer language](https://sms4smile.com/quotes/about/computer-language/) [Computer programming](https://sms4smile.com/quotes/about/computer-programming/) [Discipline](https://sms4smile.com/quotes/about/discipline/) [Habits](https://sms4smile.com/quotes/about/habits/) [Inanimate objects](https://sms4smile.com/quotes/about/inanimate-objects/) [Language](https://sms4smile.com/quotes/about/language/) [Learning](https://sms4smile.com/quotes/about/learning/) [Mistake](https://sms4smile.com/quotes/about/mistake/) [Precise](https://sms4smile.com/quotes/about/precise/) [Programming](https://sms4smile.com/quotes/about/programming/) [Programming languages](https://sms4smile.com/quotes/about/programming-languages/) [Small mistakes](https://sms4smile.com/quotes/about/small-mistakes/) [Sorcery](https://sms4smile.com/quotes/about/sorcery/) [Stories](https://sms4smile.com/quotes/about/stories/)

## Related quotes

> [The plough is to the farmer what the wand is to the sorcerer. Its effect is really like sorcery.](https://sms4smile.com/quotes/thomas-jefferson/the-plough-is-to-the-farmer-what-the-wand-is-to-the-sorcerer-its/)

[Thomas Jefferson](https://sms4smile.com/quotes/author/thomas-jefferson/)

> [The difference between the novice and the master is simply that the novice has not learnt, yet, how to do things in such a…](https://sms4smile.com/quotes/christopher-alexander/the-difference-between-the-novice-and-the-master-is-simply-that-the/)

[Christopher Alexander](https://sms4smile.com/quotes/author/christopher-alexander/)

> [Big mistakes are often hidden behind small mistakes, due to which small ones are often visible.](https://sms4smile.com/quotes/sanji-paul-arvind/big-mistakes-are-often-hidden-behind-small-mistakes-due-to-which/)

[Sanji-Paul Arvind](https://sms4smile.com/quotes/author/sanji-paul-arvind/)

> [The specialist is one who never makes small mistakes while moving toward the grand fallacy.](https://sms4smile.com/quotes/marshall-mcluhan/the-specialist-is-one-who-never-makes-small-mistakes-while-moving/)

[Marshall McLuhan](https://sms4smile.com/quotes/author/marshall-mcluhan/)

> [We Love ourself even after making so many mistakes Then how can we hate others for their small mistakes Strange but True!](https://sms4smile.com/quotes/ritu-ghatourey/we-love-ourself-even-after-making-so-many-mistakes-then-how-can-we-2/)

[Ritu Ghatourey](https://sms4smile.com/quotes/author/ritu-ghatourey/)

> [I make small mistakes every day. But major mistakes? It doesn't seem so. I've examined my service to the Tibetan people and to humanity,…](https://sms4smile.com/quotes/dalai-lama/i-make-small-mistakes-every-day-but-major-mistakes-it-doesn-t-seem-so/)

[Dalai Lama](https://sms4smile.com/quotes/author/dalai-lama/)

> [Small mistakes tend to lead to large ones. Ours is a lifetime appoinment, and all you have is your reputation. Once it's gone, it…](https://sms4smile.com/quotes/david-baldacci/small-mistakes-tend-to-lead-to-large-ones-ours-is-a-lifetime/)

[David Baldacci](https://sms4smile.com/quotes/author/david-baldacci/)

> [Never allow or let one mistake make you forget about all the times someone did show you how caring she/he is. If you can't…](https://sms4smile.com/quotes/kemmy-nola/never-allow-or-let-one-mistake-make-you-forget-about-all-the-times/)

[Kemmy Nola](https://sms4smile.com/quotes/author/kemmy-nola/)

> [We love ourselves even after making so many mistakes. Then how can we hate others for their small mistakes? Strange but true! So make…](https://sms4smile.com/quotes/nishan-panwar/we-love-ourselves-even-after-making-so-many-mistakes-then-how-can-we/)

[Nishan Panwar](https://sms4smile.com/quotes/author/nishan-panwar/)

> [We love ourself even after making so many mistakes. Then how can we hate others 4 their small mistakes? Strange but true! So make…](https://sms4smile.com/quotes/babloo/we-love-ourself-even-after-making-so-many-mistakes-then-how-can-we/)

[Babloo](https://sms4smile.com/quotes/author/babloo/)

> [And I was very successful at baby photography... Strange isn't it? Because some of my portraits of babies were - I used dramatic lighting,…](https://sms4smile.com/quotes/julius-shulman/and-i-was-very-successful-at-baby-photography-strange-isn-t-it/)

[Julius Shulman](https://sms4smile.com/quotes/author/julius-shulman/)

> [When I glanced at the chair, it started to shake. I’d like to think it was scared of me, but I rarely invoked that…](https://sms4smile.com/quotes/kelley-armstrong/when-i-glanced-at-the-chair-it-started-to-shake-i-d-like-to-think-it/)

[Kelley Armstrong](https://sms4smile.com/quotes/author/kelley-armstrong/)

> [I love museums, but I always thought there was something funny about a group of strangers silently staring at works of inanimate objects together.…](https://sms4smile.com/quotes/hiro-murai/i-love-museums-but-i-always-thought-there-was-something-funny-about-a/)

[Hiro Murai](https://sms4smile.com/quotes/author/hiro-murai/)

> [Inanimate objects are sometimes parties to litigation. A ship has a legal personality, a fiction found useful for maritime purposes. The corporation sole -…](https://sms4smile.com/quotes/william-o-douglas/inanimate-objects-are-sometimes-parties-to-litigation-a-ship-has-a/)

[William O. Douglas](https://sms4smile.com/quotes/author/william-o-douglas/)

> [I find very reasonable the Celtic belief that the souls of our dearly departed are trapped in some inferior being, in an animal, aplant,…](https://sms4smile.com/quotes/marcel-proust/i-find-very-reasonable-the-celtic-belief-that-the-souls-of-our-dearly/)

[Marcel Proust](https://sms4smile.com/quotes/author/marcel-proust/)

## More by Richard E. Pattis

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

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

> [Code should run as fast as necessary, but no faster; something important is always traded away to increase speed.](https://sms4smile.com/quotes/richard-e-pattis/code-should-run-as-fast-as-necessary-but-no-faster-something/)

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

> [When building a complex system, having crackerjack programmers (who can make any design work, even a bad one) can be a liability. The result,…](https://sms4smile.com/quotes/richard-e-pattis/when-building-a-complex-system-having-crackerjack-programmers-who-can/)

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

> [A class, in Java, is where we teach objects how to behave.](https://sms4smile.com/quotes/richard-e-pattis/a-class-in-java-is-where-we-teach-objects-how-to-behave/)

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

> [When debugging, novices insert corrective code; experts remove defective code.](https://sms4smile.com/quotes/richard-e-pattis/when-debugging-novices-insert-corrective-code-experts-remove/)

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

> [When teaching a rapidly changing technology, perspective is more important than content.](https://sms4smile.com/quotes/richard-e-pattis/when-teaching-a-rapidly-changing-technology-perspective-is-more/)

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

> [The structure of a software system provides the ecology in which code is born, matures, and dies. A well-designed habitat allows for the successful…](https://sms4smile.com/quotes/richard-e-pattis/the-structure-of-a-software-system-provides-the-ecology-in-which-code/)

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

> [The three most important aspects of debugging and real estate are the same: Location, Location, and Location.](https://sms4smile.com/quotes/richard-e-pattis/the-three-most-important-aspects-of-debugging-and-real-estate-are-the/)

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

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

## More Appetite quotes

> [I could not limit my values and pursuits to what makes others comfortable. Being possessed by a promise I live without options. I will…](https://sms4smile.com/quotes/bill-johnson/i-could-not-limit-my-values-and-pursuits-to-what-makes-others/)

[Bill Johnson](https://sms4smile.com/quotes/author/bill-johnson/)

> [the appetite for thinking must be regulated, as all sensible people know, for it may stifle one's life.](https://sms4smile.com/quotes/susan-sontag/the-appetite-for-thinking-must-be-regulated-as-all-sensible-people/)

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

> [The more perfect the sight is the more delightful the beautiful object. The more perfect the appetite, the sweeter the food. The more musical…](https://sms4smile.com/quotes/richard-baxter/the-more-perfect-the-sight-is-the-more-delightful-the-beautiful/)

[Richard Baxter](https://sms4smile.com/quotes/author/richard-baxter/)

> [“if you cannot control your hunger and appetite, good luck managing your blood chemistry, metabolism, waistline, and, in the bigger picture, the prospect of…](https://sms4smile.com/quotes/david-perlmutter/if-you-cannot-control-your-hunger-and-appetite-good-luck-managing/)

[David Perlmutter](https://sms4smile.com/quotes/author/david-perlmutter/)

> [I don't think I've ever bench-pressed anything in my life. Until about two years ago I swam a mile almost every day. Then I…](https://sms4smile.com/quotes/nick-antosca/i-don-t-think-i-ve-ever-bench-pressed-anything-in-my-life-until-about/)

[Nick Antosca](https://sms4smile.com/quotes/author/nick-antosca/)

> [If I had been an Italian I am sure that I should have been whole-heartedly with you from the start to finish in your…](https://sms4smile.com/quotes/winston-churchill/if-i-had-been-an-italian-i-am-sure-that-i-should-have-been-whole/)

[Winston Churchill](https://sms4smile.com/quotes/author/winston-churchill/)

> [It could be my British need for discipline that makes me admire the American appetite for freedom and passion.](https://sms4smile.com/quotes/steve-winwood/it-could-be-my-british-need-for-discipline-that-makes-me-admire-the/)

[Steve Winwood](https://sms4smile.com/quotes/author/steve-winwood/)

> [My curiosity and my appetite for evolving as an actor is one of the main components of me still working today in the business.](https://sms4smile.com/quotes/kim-cattrall/my-curiosity-and-my-appetite-for-evolving-as-an-actor-is-one-of-the/)

[Kim Cattrall](https://sms4smile.com/quotes/author/kim-cattrall/)

> [I have a strong appetite and its not for food.](https://sms4smile.com/quotes/anonymous/i-have-a-strong-appetite-and-its-not-for-food/)

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

> [The plain fact is that education is itself a form of propaganda - a deliberate scheme to outfit the pupil, not with the capacity…](https://sms4smile.com/quotes/anonymous/the-plain-fact-is-that-education-is-itself-a-form-of-propaganda-a/)

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

> [“You should also eat eggs. Not “one egg per week” or some such non-physiologic restriction. Eat what your body tells you to eat, since…](https://sms4smile.com/quotes/william-davis/you-should-also-eat-eggs-not-one-egg-per-week-or-some-such-non/)

[William Davis](https://sms4smile.com/quotes/author/william-davis/)

> [If your desires are not great, a little will seem much to you; for small appetite makes poverty equivalent to wealth.](https://sms4smile.com/quotes/democritus/if-your-desires-are-not-great-a-little-will-seem-much-to-you-for/)

[Democritus](https://sms4smile.com/quotes/author/democritus/)

> [When passions and appetites are stronger than the intellect, men are savages; when the intellect governs the passions, when the passions are servants, men…](https://sms4smile.com/quotes/robert-green-ingersoll/when-passions-and-appetites-are-stronger-than-the-intellect-men-are/)

[Robert Green Ingersoll](https://sms4smile.com/quotes/author/robert-green-ingersoll/)

> [A pivotal spiritual attribute is that of self-mastery-th e strength to place reason over appetite. Self-mastery builds a strong conscience. And your conscience determines…](https://sms4smile.com/quotes/russell-m-nelson/a-pivotal-spiritual-attribute-is-that-of-self-mastery-th-e-strength/)

[Russell M. Nelson](https://sms4smile.com/quotes/author/russell-m-nelson/)

> [The commonest and cheapest sounds, as the barking of a dog, produce the same effect on fresh and healthy ears that the rarest music…](https://sms4smile.com/quotes/henry-david-thoreau/the-commonest-and-cheapest-sounds-as-the-barking-of-a-dog-produce-the/)

[Henry David Thoreau](https://sms4smile.com/quotes/author/henry-david-thoreau/)

[Browse all 994 Appetite quotes ](https://sms4smile.com/quotes/about/appetite/)

```json
{
    "@context": "https://schema.org",
    "@graph": [
        {
            "@type": "Quotation",
            "text": "The discipline of programming is most like sorcery. Both use precise language to instruct inanimate objects to do our bidding. Small mistakes in programs or spells can lead to completely unforseen behavior: e.g., see the story, \"The Sorcerer's Apprentice\". Neither study is easy: \"...her [Galinda's] early appetite for sorcery had waned once she'd heard what a grind it was to learn spells and, worse, to understand them.\" from the book \"Wicked\" by G. Maguire.",
            "creator": {
                "@type": "Person",
                "name": "Richard E. Pattis"
            },
            "isPartOf": {
                "@id": "https://sms4smile.com/quotes/#website"
            },
            "url": "https://sms4smile.com/quotes/richard-e-pattis/the-discipline-of-programming-is-most-like-sorcery-both-use-precise/",
            "about": {
                "@type": "Thing",
                "name": "Appetite"
            },
            "@id": "https://sms4smile.com/quotes/richard-e-pattis/the-discipline-of-programming-is-most-like-sorcery-both-use-precise/#quotation",
            "image": {
                "@type": "ImageObject",
                "@id": "https://sms4smile.com/quotes/i/cb8/richard-e-pattis-41876_appetite_the-discipline-of-programming-is-most-li_1832659.png",
                "contentUrl": "https://sms4smile.com/quotes/i/cb8/richard-e-pattis-41876_appetite_the-discipline-of-programming-is-most-li_1832659.png",
                "url": "https://sms4smile.com/quotes/i/cb8/richard-e-pattis-41876_appetite_the-discipline-of-programming-is-most-li_1832659.png",
                "width": 1080,
                "height": 1080,
                "caption": "“The discipline of programming is most like sorcery. Both use precise language to instruct inanimate objects…” — Richard E. Pattis",
                "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": "Richard E. Pattis",
                    "item": "https://sms4smile.com/quotes/author/richard-e-pattis/"
                },
                {
                    "@type": "ListItem",
                    "position": 4,
                    "name": "The discipline of programming is most...",
                    "item": "https://sms4smile.com/quotes/richard-e-pattis/the-discipline-of-programming-is-most-like-sorcery-both-use-precise/"
                }
            ],
            "@id": "https://sms4smile.com/quotes/richard-e-pattis/the-discipline-of-programming-is-most-like-sorcery-both-use-precise/#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
            }
        }
    ]
}
```
