---
title: "Every program has two purposes: The one for which it was written and … — Alan Perlis Quote #7 | QuotesBy.net"
description: "Every program has two purposes: The one for which it was written and another for which it wasn't. — a quote by Alan Perlis."
image: "https://quotesby.net/wp-content/themes/quotesby-editorial/assets/og-default.png"
---

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

[Alan Perlis](https://quotesby.net/Alan-Perlis)\#7

[Design](https://quotesby.net/Alan-Perlis/design/)[Software](https://quotesby.net/Alan-Perlis/software/)[Evolution](https://quotesby.net/topics/evolution/)[Intent](https://quotesby.net/topics/intent/)[Intention](https://quotesby.net/topics/intention/)

[WhatsApp (opens in a new tab)](https://wa.me/?text=%E2%80%9CEvery%20program%20has%20two%20purposes%3A%20The%20one%20for%20which%20it%20was%20written%20and%20another%20for%20which%20it%20wasn%27t.%E2%80%9D%20%E2%80%94%20Alan%20Perlis%20https%3A%2F%2Fquotesby.net%2FAlan-Perlis%2F7%2F)[X (opens in a new tab)](https://twitter.com/intent/tweet?text=%E2%80%9CEvery%20program%20has%20two%20purposes%3A%20The%20one%20for%20which%20it%20was%20written%20and%20another%20for%20which%20it%20wasn%27t.%E2%80%9D%20%E2%80%94%20Alan%20Perlis&url=https%3A%2F%2Fquotesby.net%2FAlan-Perlis%2F7%2F)[Facebook (opens in a new tab)](https://www.facebook.com/sharer/sharer.php?u=https%3A%2F%2Fquotesby.net%2FAlan-Perlis%2F7%2F)

## About this quote

What does it mean?Software often ends up being used in ways its creators never intended.In plain termsPrograms get used for things they weren't made for.What can you take from it?Expect your software to be used in unexpected ways.

### Where it applies

- product launch
- user feedback
- maintenance

### Putting it to work

- design for flexibility
- monitor usage patterns
- document limitations

### Questions to consider

- How is your software actually being used?
- What unintended uses should you anticipate?

### Another view

Some systems are built so tightly that unintended use is impossible.

## More from Alan Perlis

1. > Don't have good ideas if you aren't willing to be responsible for them.

[Permalink to quote \#6](https://quotesby.net/Alan-Perlis/6/ "Permalink to quote 6")
2. > Fools ignore complexity. Pragmatists suffer it. Some can avoid it. Geniuses remove it.

[Permalink to quote \#8](https://quotesby.net/Alan-Perlis/8/ "Permalink to quote 8")
3. > A year spent in artificial intelligence is enough to make one believe in God.

[Permalink to quote \#5](https://quotesby.net/Alan-Perlis/5/ "Permalink to quote 5")

## Related quotes

1. > Architects know that some kinds of design problems are more personal than others. One of the cleanest, most abstract design problems is designing bridges. Ther…

[Paul Graham](https://quotesby.net/Paul-Graham)[Paul Graham quote \#1](https://quotesby.net/Paul-Graham/1/ "Permalink to quote 1")
2. > The best thing software can be is easy, but the way to do this is to get the defaults right, not to limit users' choices.

[Paul Graham](https://quotesby.net/Paul-Graham)[Paul Graham quote \#2](https://quotesby.net/Paul-Graham/2/ "Permalink to quote 2")
3. > A junkyard contains all the bits and pieces of a Boeing 747, dismembered and in disarray. A whirlwind happens to blow through the yard. What is the chance that…

[Fred Hoyle](https://quotesby.net/Fred-Hoyle)[Fred Hoyle quote \#4](https://quotesby.net/Fred-Hoyle/4/ "Permalink to quote 4")

```json
{
    "@context": "https://schema.org",
    "@type": "Quotation",
    "text": "Every program has two purposes: The one for which it was written and another for which it wasn't.",
    "url": "https://quotesby.net/Alan-Perlis/7/",
    "spokenByCharacter": {
        "@type": "Person",
        "name": "Alan Perlis"
    }
}
{
    "@context": "https://schema.org",
    "@type": "BreadcrumbList",
    "itemListElement": [
        {
            "@type": "ListItem",
            "position": 1,
            "name": "Home",
            "item": "https://quotesby.net/"
        },
        {
            "@type": "ListItem",
            "position": 2,
            "name": "Authors",
            "item": "https://quotesby.net/authors/"
        },
        {
            "@type": "ListItem",
            "position": 3,
            "name": "Alan Perlis",
            "item": "https://quotesby.net/Alan-Perlis"
        },
        {
            "@type": "ListItem",
            "position": 4,
            "name": "Quote #7",
            "item": "https://quotesby.net/Alan-Perlis/7/"
        }
    ]
}
```
