---
title: "Meaning & Key Takeaway of: Every program has (at least) two…"
description: "\"Every program has (at least) two purposes: the one for which it was written and another for which it wasn't.\" — Alan Perlis"
image: "https://sms4smile.com/quotes/i/886/alan-perlis-11812_computing_every-program-has-at-least-two-purposes_1403371.png"
---

#  Every program has (at least) two purposes: the one for…

![“Every program has (at least) 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/886/alan-perlis-11812_computing_every-program-has-at-least-two-purposes_1403371.png)   [Download](https://sms4smile.com/quotes/i/886/alan-perlis-11812_computing_every-program-has-at-least-two-purposes_1403371.png) [Open image](https://sms4smile.com/quotes/i/886/alan-perlis-11812_computing_every-program-has-at-least-two-purposes_1403371.png)

> “Every program has (at least) 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 its intended purpose and an unintended one, revealing hidden value or risk.

**In simple terms:** Programs have primary and secondary uses.

Key Takeaway

Consider unintended impacts.

Themes

design purpose unintended effects

Mood

analytical cautious

Type

philosophical technical

When to use this quote

- product development
- legacy code
- policy compliance
- security audits

Key Concepts

software engineering systems thinking emergent behavior

Questions to Reflect On

- What secondary uses could your project have?
- How to mitigate risks of misuse?

A Different Perspective

Unintended uses can cause harm if not anticipated.

★ ★ ★ ★ ★   No ratings yet

[Computing](https://sms4smile.com/quotes/about/computing/) [Goals](https://sms4smile.com/quotes/about/goals/) [Programming](https://sms4smile.com/quotes/about/programming/) [Purpose](https://sms4smile.com/quotes/about/purpose/) [Software engineering](https://sms4smile.com/quotes/about/software-engineering/) [Technology](https://sms4smile.com/quotes/about/technology/) [Writing](https://sms4smile.com/quotes/about/writing/)

## Related quotes

> [Every program has 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-two-purposes-the-one-for-which-it-was-written-and/)

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

> [Using Unix is the computing equivalent of listening only to music by David Cassidy.](https://sms4smile.com/quotes/rob-pike/using-unix-is-the-computing-equivalent-of-listening-only-to-music-by/)

[Rob Pike](https://sms4smile.com/quotes/author/rob-pike/)

> [Computers are good at following instructions, but not at reading your mind.](https://sms4smile.com/quotes/donald-knuth/computers-are-good-at-following-instructions-but-not-at-reading-your/)

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

> [Every big computing disaster has come from taking too many ideas and putting them in one place.](https://sms4smile.com/quotes/gordon-bell/every-big-computing-disaster-has-come-from-taking-too-many-ideas-and/)

[Gordon Bell](https://sms4smile.com/quotes/author/gordon-bell/)

> [When someone says, "I want a programming language in which I need only say what I want done," give him a lollipop.](https://sms4smile.com/quotes/alan-perlis/when-someone-says-i-want-a-programming-language-in-which-i-need-only/)

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

> [Considering the current sad state of our computer programs, software development is clearly still a black art, and cannot yet be called an engineering…](https://sms4smile.com/quotes/william-j-clinton/considering-the-current-sad-state-of-our-computer-programs-software/)

[William J. Clinton](https://sms4smile.com/quotes/author/william-j-clinton/)

> [In computing, turning the obvious into the useful is a living definition of the word "frustration".](https://sms4smile.com/quotes/alan-perlis/in-computing-turning-the-obvious-into-the-useful-is-a-living/)

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

> [If you have a procedure with 10 parameters, you probably missed some.](https://sms4smile.com/quotes/alan-perlis/if-you-have-a-procedure-with-10-parameters-you-probably-missed-some/)

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

> [Because of its vitality, the computing field is always in desperate need of new cliches: Banality soothes our nerves.](https://sms4smile.com/quotes/alan-perlis/because-of-its-vitality-the-computing-field-is-always-in-desperate/)

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

> [In computing, the mean time to failure keeps getting shorter.](https://sms4smile.com/quotes/alan-perlis/in-computing-the-mean-time-to-failure-keeps-getting-shorter/)

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

> [Don't have good ideas if you aren't willing to be responsible for them.](https://sms4smile.com/quotes/alan-perlis/don-t-have-good-ideas-if-you-aren-t-willing-to-be-responsible-for-them/)

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

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

> [My first program taught me a lot about the errors that I was going to be making in the future, and also about how…](https://sms4smile.com/quotes/donald-knuth/my-first-program-taught-me-a-lot-about-the-errors-that-i-was-going-to/)

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

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

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

> [Every program has 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-two-purposes-the-one-for-which-it-was-written-and/)

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

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

## More Computing quotes

> [These are the men who, without virtue, labour, or hazard, are growing rich, as their country is impoverished; they rejoice, when obstinacy or ambition…](https://sms4smile.com/quotes/samuel-johnson/these-are-the-men-who-without-virtue-labour-or-hazard-are-growing/)

[Samuel Johnson](https://sms4smile.com/quotes/author/samuel-johnson/)

> [Many jobs at Google require math, computing, and coding skills, so if your good grades truly reflect skills in those areas that you can…](https://sms4smile.com/quotes/thomas-friedman/many-jobs-at-google-require-math-computing-and-coding-skills-so-if/)

[Thomas Friedman](https://sms4smile.com/quotes/author/thomas-friedman/)

> [The hope is that, in not too many years, human brains and computing machines will be coupled together very tightly, and that the resulting…](https://sms4smile.com/quotes/j-c-r-licklider/the-hope-is-that-in-not-too-many-years-human-brains-and-computing/)

[J. C. R. Licklider](https://sms4smile.com/quotes/author/j-c-r-licklider/)

> [At every juncture, advanced tools have been the key to a new wave of applications, and each wave of applications has been key to…](https://sms4smile.com/quotes/bill-gates/at-every-juncture-advanced-tools-have-been-the-key-to-a-new-wave-of/)

[Bill Gates](https://sms4smile.com/quotes/author/bill-gates/)

> [The computing scientist's main challenge is not to get confused by the complexities of his own making.](https://sms4smile.com/quotes/edsger-dijkstra/the-computing-scientist-s-main-challenge-is-not-to-get-confused-by/)

[Edsger Dijkstra](https://sms4smile.com/quotes/author/edsger-dijkstra/)

> [I think it's fair to say that the age of traditional computing is dead.](https://sms4smile.com/quotes/lisa-su/i-think-it-s-fair-to-say-that-the-age-of-traditional-computing-is-dead/)

[Lisa Su](https://sms4smile.com/quotes/author/lisa-su/)

> [Traditional computing is always going to be a part of AMD's business, but our technology can go further.](https://sms4smile.com/quotes/lisa-su/traditional-computing-is-always-going-to-be-a-part-of-amd-s-business/)

[Lisa Su](https://sms4smile.com/quotes/author/lisa-su/)

> [Umoja ni nguvu,utengano ni udhaifu.](https://sms4smile.com/quotes/kevin-ngoge-nyabuto/umoja-ni-nguvu-utengano-ni-udhaifu/)

KEVIN NGOGE NYABUTO

> [If we don't figure out a way to have secure, connected healthcare, or connectivity and computing, we won't have that industry develop.](https://sms4smile.com/quotes/steve-mollenkopf/if-we-don-t-figure-out-a-way-to-have-secure-connected-healthcare-or/)

[Steve Mollenkopf](https://sms4smile.com/quotes/author/steve-mollenkopf/)

> [Automobiles and the automotive industry are increasingly driven by data and computing. The saying 'What's under the hood' will increasingly refer to computing, not…](https://sms4smile.com/quotes/brian-krzanich/automobiles-and-the-automotive-industry-are-increasingly-driven-by/)

[Brian Krzanich](https://sms4smile.com/quotes/author/brian-krzanich/)

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

> [Cultural perspective on gender diversity in computing,](https://sms4smile.com/quotes/lenore-blum/cultural-perspective-on-gender-diversity-in-computing/)

Lenore Blum

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

> [The job of formal methods is to elucidate the assumptions upon which formal correctness depends.](https://sms4smile.com/quotes/tony-hoare/the-job-of-formal-methods-is-to-elucidate-the-assumptions-upon-which/)

[Tony Hoare](https://sms4smile.com/quotes/author/tony-hoare/)

> [Computing shows up in many different ways. You have computing that you wear, computing that you carry. What you think of as the traditional…](https://sms4smile.com/quotes/michael-dell/computing-shows-up-in-many-different-ways-you-have-computing-that-you/)

[Michael Dell](https://sms4smile.com/quotes/author/michael-dell/)

[Browse all 237 Computing quotes ](https://sms4smile.com/quotes/about/computing/)

```json
{
    "@context": "https://schema.org",
    "@graph": [
        {
            "@type": "Quotation",
            "text": "Every program has (at least) 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-at-least-two-purposes-the-one-for-which-it-was/",
            "about": {
                "@type": "Thing",
                "name": "Computing"
            },
            "@id": "https://sms4smile.com/quotes/alan-perlis/every-program-has-at-least-two-purposes-the-one-for-which-it-was/#quotation",
            "image": {
                "@type": "ImageObject",
                "@id": "https://sms4smile.com/quotes/i/886/alan-perlis-11812_computing_every-program-has-at-least-two-purposes_1403371.png",
                "contentUrl": "https://sms4smile.com/quotes/i/886/alan-perlis-11812_computing_every-program-has-at-least-two-purposes_1403371.png",
                "url": "https://sms4smile.com/quotes/i/886/alan-perlis-11812_computing_every-program-has-at-least-two-purposes_1403371.png",
                "width": 1080,
                "height": 1080,
                "caption": "“Every program has (at least) 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 (at least) two...",
                    "item": "https://sms4smile.com/quotes/alan-perlis/every-program-has-at-least-two-purposes-the-one-for-which-it-was/"
                }
            ],
            "@id": "https://sms4smile.com/quotes/alan-perlis/every-program-has-at-least-two-purposes-the-one-for-which-it-was/#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
            }
        }
    ]
}
```
