---
title: "Meaning & Key Takeaway of: Every program has two purposes: The one…"
description: "\"Every program has two purposes: The one for which it was written and another for which it wasn't.\" — Alan Perlis"
image: "https://sms4smile.com/quotes/i/965/alan-perlis-11812_another_every-program-has-two-purposes-the-one-f_527839.jpg"
---

#  Every program has two purposes: The one for which it was…

![“Every program has two purposes: The one for which it was written and another for which it wasn't.” quote by Alan Perlis](https://sms4smile.com/quotes/i/965/alan-perlis-11812_another_every-program-has-two-purposes-the-one-f_527839.jpg)   [Download](https://sms4smile.com/quotes/i/965/alan-perlis-11812_another_every-program-has-two-purposes-the-one-f_527839.jpg) [Open image](https://sms4smile.com/quotes/i/965/alan-perlis-11812_another_every-program-has-two-purposes-the-one-f_527839.jpg)

> “Every program has two purposes: The one for which it was written and another for which it wasn't.”

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

## About This Quote

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

Software often serves both intended and unintended purposes, revealing hidden utility.

**In simple terms:** Programs have extra uses.

Key Takeaway

Design for flexibility.

Themes

software design purpose unintended effects

Mood

analytical cautious

Type

theoretical practical

When to use this quote

- software development
- system integration
- legacy code
- feature extension

Key Concepts

abstraction emergent behavior

Questions to Reflect On

- What hidden uses might your code have?
- How can you mitigate unintended effects?

A Different Perspective

Unintended uses may cause security risks.

★ ★ ★ ★ ★   No ratings yet

[Programming](https://sms4smile.com/quotes/about/programming/) [Technology](https://sms4smile.com/quotes/about/technology/)

## Related quotes

> [Every program has (at least) two purposes: the one for which it was written and another for which it wasn't.](https://sms4smile.com/quotes/alan-perlis/every-program-has-at-least-two-purposes-the-one-for-which-it-was/)

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

> [A programming language is low level when its programs require attention to the irrelevant.](https://sms4smile.com/quotes/alan-perlis/a-programming-language-is-low-level-when-its-programs-require/)

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

> [I am only me for practical purposes.](https://sms4smile.com/quotes/julian-baggini/i-am-only-me-for-practical-purposes/)

[Julian Baggini](https://sms4smile.com/quotes/author/julian-baggini/)

> [Many good purposes lie in the churchyard.](https://sms4smile.com/quotes/philip-massinger/many-good-purposes-lie-in-the-churchyard/)

[Philip Massinger](https://sms4smile.com/quotes/author/philip-massinger/)

> [The purposes of God point to one simple end-that we should be as he is, think the same thoughts, mean the same things, possess…](https://sms4smile.com/quotes/george-macdonald/the-purposes-of-god-point-to-one-simple-end-that-we-should-be-as-he/)

[George MacDonald](https://sms4smile.com/quotes/author/george-macdonald/)

> [I believe one of our souls' major purposes is to know, love, and express our authentic selves. To live the life and be the…](https://sms4smile.com/quotes/sue-thoele/i-believe-one-of-our-souls-major-purposes-is-to-know-love-and-express/)

[Sue Thoele](https://sms4smile.com/quotes/author/sue-thoele/)

> [There are five main purposes of central bank cooperation"..."the provision of international credits and joint efforts to influence asset prices (especially gold and foreign…](https://sms4smile.com/quotes/william-smith-white/there-are-five-main-purposes-of-central-bank-cooperation-the/)

William Smith White

> [Go for the purposes of God, and the means to fulfill them will follow.](https://sms4smile.com/quotes/reinhard-bonnke/go-for-the-purposes-of-god-and-the-means-to-fulfill-them-will-follow/)

[Reinhard Bonnke](https://sms4smile.com/quotes/author/reinhard-bonnke/)

> [“In God’s hands, the ingredients of our lives will always work out ultimately for our good and, even better, for His eternal purposes.”](https://sms4smile.com/quotes/elizabeth-george/in-god-s-hands-the-ingredients-of-our-lives-will-always-work-out/)

[Elizabeth George](https://sms4smile.com/quotes/author/elizabeth-george/)

> [It is my desire and intent to trust the multi-layered good purposes of God than in what humans fabricate out of their need and…](https://sms4smile.com/quotes/william-p-young/it-is-my-desire-and-intent-to-trust-the-multi-layered-good-purposes/)

[William P. Young](https://sms4smile.com/quotes/author/william-p-young/)

> [“For all intents and purposes, he was a fun guy.”](https://sms4smile.com/quotes/penelope-douglas/for-all-intents-and-purposes-he-was-a-fun-guy/)

[Penelope Douglas](https://sms4smile.com/quotes/author/penelope-douglas/)

> [“It is not enough to just do your best or work hard; You must know what to work on.”](https://sms4smile.com/quotes/w-edwards-deming/it-is-not-enough-to-just-do-your-best-or-work-hard-you-must-know-what/)

[W. Edwards Deming](https://sms4smile.com/quotes/author/w-edwards-deming/)

> [ As we learn in \[the\] scriptures, the fundamental purposes for the gift of agency were to love one another and to choose God. Thus… ](https://sms4smile.com/quotes/david-a-bednar/as-we-learn-in-the-scriptures-the-fundamental-purposes-for-the-gift/)

[David A. Bednar](https://sms4smile.com/quotes/author/david-a-bednar/)

> [“Primary purposes of a mirror: (1) To help civilized men realize their imperfections, and, (2) To help the imperfect hide their imperfections.”](https://sms4smile.com/quotes/mokokoma-mokhonoana/primary-purposes-of-a-mirror-1-to-help-civilized-men-realize-their/)

[Mokokoma Mokhonoana](https://sms4smile.com/quotes/author/mokokoma-mokhonoana/)

> [What is it we all seek for in an election? To answer its real purposes, you must first possess the means of knowing the…](https://sms4smile.com/quotes/edmund-burke/what-is-it-we-all-seek-for-in-an-election-to-answer-its-real-purposes/)

[Edmund Burke](https://sms4smile.com/quotes/author/edmund-burke/)

## More by Alan Perlis

> [You can measure a programmer's perspective by noting his attitude on the continuing vitality of FORTRAN.](https://sms4smile.com/quotes/alan-perlis/you-can-measure-a-programmer-s-perspective-by-noting-his-attitude-on/)

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

> [In English every word can be verbed. Would that it were so in our programming languages.](https://sms4smile.com/quotes/alan-perlis/in-english-every-word-can-be-verbed-would-that-it-were-so-in-our/)

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

> [LISP programmers know the value of everything and the cost of nothing.](https://sms4smile.com/quotes/alan-perlis/lisp-programmers-know-the-value-of-everything-and-the-cost-of-nothing/)

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

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

> [Simplicity does not precede complexity, but follows it.](https://sms4smile.com/quotes/alan-perlis/simplicity-does-not-precede-complexity-but-follows-it/)

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

> [Optimization hinders evolution. Everything should be built top-down, except the first time. Simplicity does not precede complexity, but follows it.](https://sms4smile.com/quotes/alan-perlis/optimization-hinders-evolution-everything-should-be-built-top-down/)

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

> [The computing field is always in need of new cliches.](https://sms4smile.com/quotes/alan-perlis/the-computing-field-is-always-in-need-of-new-cliches/)

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

> [Fools ignore complexity. Pragmatists suffer it. Some can avoid it. Geniuses remove it.](https://sms4smile.com/quotes/alan-perlis/fools-ignore-complexity-pragmatists-suffer-it-some-can-avoid-it/)

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

> [A programming language is low level when its programs require attention to the irrelevant.](https://sms4smile.com/quotes/alan-perlis/a-programming-language-is-low-level-when-its-programs-require/)

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

> [Syntactic sugar causes cancer of the semicolon.](https://sms4smile.com/quotes/alan-perlis/syntactic-sugar-causes-cancer-of-the-semicolon/)

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

> [When a professor insists computer science is X but not Y, have compassion for his graduate students.](https://sms4smile.com/quotes/alan-perlis/when-a-professor-insists-computer-science-is-x-but-not-y-have/)

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

> [A year spent in artificial intelligence is enough to make one believe in God.](https://sms4smile.com/quotes/alan-perlis/a-year-spent-in-artificial-intelligence-is-enough-to-make-one-believe/)

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

> [In software systems it is often the early bird that makes the worm.](https://sms4smile.com/quotes/alan-perlis/in-software-systems-it-is-often-the-early-bird-that-makes-the-worm/)

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

> [In man-machine symbiosis, it is man who must adjust: The machines can't.](https://sms4smile.com/quotes/alan-perlis/in-man-machine-symbiosis-it-is-man-who-must-adjust-the-machines-can-t/)

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

> [I think it is inevitable that people program poorly. Training will not substantially help matters. We have to learn to live with it.](https://sms4smile.com/quotes/alan-perlis/i-think-it-is-inevitable-that-people-program-poorly-training-will-not/)

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

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

## More Another quotes

> [I guess I've never really wanted to be anything else. I've never even thought about having another job.](https://sms4smile.com/quotes/owen-farrell/i-guess-i-ve-never-really-wanted-to-be-anything-else-i-ve-never-even/)

[Owen Farrell](https://sms4smile.com/quotes/author/owen-farrell/)

> [I take the responsibility of playing another ethnicity very, very seriously, and I promise myself and those people that I will represent them with…](https://sms4smile.com/quotes/cliff-curtis/i-take-the-responsibility-of-playing-another-ethnicity-very-very/)

[Cliff Curtis](https://sms4smile.com/quotes/author/cliff-curtis/)

> [I write the way you might arrange flowers. Not every try works, but each one launches another. Every constraint, even dullness, frees up a…](https://sms4smile.com/quotes/richard-powers/i-write-the-way-you-might-arrange-flowers-not-every-try-works-but/)

[Richard Powers](https://sms4smile.com/quotes/author/richard-powers/)

> [I have to mention that Taapsee and Ayushmann are my favorite actors - or stars, whatever you call them. I love them. Our thought…](https://sms4smile.com/quotes/anubhav-sinha/i-have-to-mention-that-taapsee-and-ayushmann-are-my-favorite-actors/)

[Anubhav Sinha](https://sms4smile.com/quotes/author/anubhav-sinha/)

> [When a person partners with God in delivering a miracle to another person, they have done what they were supposed to do; God can…](https://sms4smile.com/quotes/bruce-wilkinson/when-a-person-partners-with-god-in-delivering-a-miracle-to-another/)

[Bruce Wilkinson](https://sms4smile.com/quotes/author/bruce-wilkinson/)

> [I went through a string of A&amp;R men who all thought I should be doing something different. One thought I should be a dance…](https://sms4smile.com/quotes/alison-moyet/i-went-through-a-string-of-a-r-men-who-all-thought-i-should-be-doing/)

[Alison Moyet](https://sms4smile.com/quotes/author/alison-moyet/)

> [New York is so serious about the creation of work. Everything is happening so fast, it feels like there's another studio, another session on…](https://sms4smile.com/quotes/diplo/new-york-is-so-serious-about-the-creation-of-work-everything-is/)

[Diplo](https://sms4smile.com/quotes/author/diplo/)

> [The fact of the matter is that the Internet has brought together millions of people who trust one another for reasons that are unknown.](https://sms4smile.com/quotes/ben-huh/the-fact-of-the-matter-is-that-the-internet-has-brought-together/)

[Ben Huh](https://sms4smile.com/quotes/author/ben-huh/)

> [Everything about Washington is inconsistent, because they say one thing and do another, which is what my opponent, Claire McCaskill, is very, very good…](https://sms4smile.com/quotes/sarah-steelman/everything-about-washington-is-inconsistent-because-they-say-one/)

[Sarah Steelman](https://sms4smile.com/quotes/author/sarah-steelman/)

> [In Tunisia, the so-called Yasmin revolution has led to the installation of a relatively moderate Islamic government. Whether or not that means democracy will,…](https://sms4smile.com/quotes/martin-van-creveld/in-tunisia-the-so-called-yasmin-revolution-has-led-to-the/)

[Martin Van Creveld](https://sms4smile.com/quotes/author/martin-van-creveld/)

> [I refuse to be one of those artists who, 10 years from now, they're bitter about the rise and the fall of their career.…](https://sms4smile.com/quotes/luke-bryan/i-refuse-to-be-one-of-those-artists-who-10-years-from-now-they-re/)

[Luke Bryan](https://sms4smile.com/quotes/author/luke-bryan/)

> [One death to a man is a serious thing: a dozen neutralize one another.](https://sms4smile.com/quotes/richard-francis-burton/one-death-to-a-man-is-a-serious-thing-a-dozen-neutralize-one-another/)

[Richard Francis Burton](https://sms4smile.com/quotes/author/richard-francis-burton/)

> [I don't know one note from another.](https://sms4smile.com/quotes/hank-williams/i-don-t-know-one-note-from-another/)

[Hank Williams](https://sms4smile.com/quotes/author/hank-williams/)

> [I like to watch the Fox News Network. I like 'Nightline.' I like to watch 'The Sopranos,' of course. That is one of my…](https://sms4smile.com/quotes/erik-estrada/i-like-to-watch-the-fox-news-network-i-like-nightline-i-like-to-watch/)

[Erik Estrada](https://sms4smile.com/quotes/author/erik-estrada/)

> [When you write a book, people legitimise it by actually reading the book and so it's almost okay to write another one.](https://sms4smile.com/quotes/eoin-macken/when-you-write-a-book-people-legitimise-it-by-actually-reading-the/)

[Eoin Macken](https://sms4smile.com/quotes/author/eoin-macken/)

Browse all 2,784 Another quotes

```json
{
    "@context": "https://schema.org",
    "@graph": [
        {
            "@type": "Quotation",
            "text": "Every program has two purposes: The one for which it was written and another for which it wasn't.",
            "creator": {
                "@type": "Person",
                "name": "Alan Perlis"
            },
            "isPartOf": {
                "@id": "https://sms4smile.com/quotes/#website"
            },
            "url": "https://sms4smile.com/quotes/alan-perlis/every-program-has-two-purposes-the-one-for-which-it-was-written-and/",
            "about": {
                "@type": "Thing",
                "name": "Another"
            },
            "@id": "https://sms4smile.com/quotes/alan-perlis/every-program-has-two-purposes-the-one-for-which-it-was-written-and/#quotation",
            "image": {
                "@type": "ImageObject",
                "@id": "https://sms4smile.com/quotes/i/965/alan-perlis-11812_another_every-program-has-two-purposes-the-one-f_527839.jpg",
                "contentUrl": "https://sms4smile.com/quotes/i/965/alan-perlis-11812_another_every-program-has-two-purposes-the-one-f_527839.jpg",
                "url": "https://sms4smile.com/quotes/i/965/alan-perlis-11812_another_every-program-has-two-purposes-the-one-f_527839.jpg",
                "width": 1080,
                "height": 1080,
                "caption": "“Every program has two purposes: The one for which it was written and another for which it wasn't.” — Alan Perlis",
                "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": "Alan Perlis",
                    "item": "https://sms4smile.com/quotes/author/alan-perlis/"
                },
                {
                    "@type": "ListItem",
                    "position": 4,
                    "name": "Every program has two purposes: The...",
                    "item": "https://sms4smile.com/quotes/alan-perlis/every-program-has-two-purposes-the-one-for-which-it-was-written-and/"
                }
            ],
            "@id": "https://sms4smile.com/quotes/alan-perlis/every-program-has-two-purposes-the-one-for-which-it-was-written-and/#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
            }
        }
    ]
}
```
