---
title: "It is easier to write an incorrect program than understand a correct … — Alan Perlis Quote #18 | QuotesBy.net"
description: "It is easier to write an incorrect program than understand a correct one. — a quote by Alan Perlis."
image: "https://quotesby.net/wp-content/themes/quotesby-editorial/assets/og-default.png"
---

> # It is easier to write an incorrect program than understand a correct one.

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

[Development](https://quotesby.net/Alan-Perlis/development/)[Quality](https://quotesby.net/Alan-Perlis/quality/)[Coding](https://quotesby.net/topics/coding/)[Difficulty](https://quotesby.net/topics/difficulty/)[Testing](https://quotesby.net/topics/testing/)

[WhatsApp (opens in a new tab)](https://wa.me/?text=%E2%80%9CIt%20is%20easier%20to%20write%20an%20incorrect%20program%20than%20understand%20a%20correct%20one.%E2%80%9D%20%E2%80%94%20Alan%20Perlis%20https%3A%2F%2Fquotesby.net%2FAlan-Perlis%2F18%2F)[X (opens in a new tab)](https://twitter.com/intent/tweet?text=%E2%80%9CIt%20is%20easier%20to%20write%20an%20incorrect%20program%20than%20understand%20a%20correct%20one.%E2%80%9D%20%E2%80%94%20Alan%20Perlis&url=https%3A%2F%2Fquotesby.net%2FAlan-Perlis%2F18%2F)[Facebook (opens in a new tab)](https://www.facebook.com/sharer/sharer.php?u=https%3A%2F%2Fquotesby.net%2FAlan-Perlis%2F18%2F)

## About this quote

What does it mean?Writing a buggy program is easier than ensuring it is correct.In plain termsIt is easier to make mistakes than to get it right.What can you take from it?Focus on correctness over speed when writing code.

### Where it applies

- coding phase
- code review
- debugging

### Putting it to work

- write tests first
- read your code carefully
- use linters

### Questions to consider

- What makes correctness hard in your work?
- How do you verify correctness?

### Another view

Quick prototypes often intentionally sacrifice correctness for speed.

## More from Alan Perlis

1. > It is easier to change the specification to fit the program than vice versa.

[Permalink to quote \#17](https://quotesby.net/Alan-Perlis/17/ "Permalink to quote 17")
2. > LISP programmers know the value of everything and the cost of nothing.

[Permalink to quote \#19](https://quotesby.net/Alan-Perlis/19/ "Permalink to quote 19")
3. > It goes against the grain of modern education to teach students to program. What fun is there to making plans, acquiring discipline, organizing thoughts, devot…

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

## Related quotes

1. > 'Regression testing'? What's that? If it compiles, it is good, if it boots up it is perfect.

[Linus Torvalds](https://quotesby.net/Linus-Torvalds)[Linus Torvalds quote \#31](https://quotesby.net/Linus-Torvalds/31/ "Permalink to quote 31")
2. > Best by test.

[Bobby Fischer](https://quotesby.net/Bobby-Fischer)[Bobby Fischer quote \#2](https://quotesby.net/Bobby-Fischer/2/ "Permalink to quote 2")
3. > That's the thing about people who think they hate computers ... What they really hate are lousy programmers.

[Larry Niven](https://quotesby.net/Larry-Niven)[Larry Niven quote \#2](https://quotesby.net/Larry-Niven/2/ "Permalink to quote 2")

```json
{
    "@context": "https://schema.org",
    "@type": "Quotation",
    "text": "It is easier to write an incorrect program than understand a correct one.",
    "url": "https://quotesby.net/Alan-Perlis/18/",
    "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 #18",
            "item": "https://quotesby.net/Alan-Perlis/18/"
        }
    ]
}
```
