---
title: "Optimizations always bust things, because all optimizations are, in t… — Larry Wall Quote #315 | QuotesBy.net"
description: "Optimizations always bust things, because all optimizations are, in the long haul, a form of cheating, and cheaters eventually get caught. — a quote by Larry Wall."
image: "https://quotesby.net/wp-content/themes/quotesby-editorial/assets/og-default.png"
---

> # Optimizations always bust things, because all optimizations are, in the long haul, a form of cheating, and cheaters eventually get caught.

[Larry Wall](https://quotesby.net/Larry-Wall)\#315

[Performance](https://quotesby.net/Larry-Wall/performance/)[Risk](https://quotesby.net/Larry-Wall/risk/)[Optimization](https://quotesby.net/Larry-Wall/optimization/)[Software engineering](https://quotesby.net/Larry-Wall/software-engineering/)

[WhatsApp (opens in a new tab)](https://wa.me/?text=%E2%80%9COptimizations%20always%20bust%20things%2C%20because%20all%20optimizations%20are%2C%20in%20the%20long%20haul%2C%20a%20form%20of%20cheating%2C%20and%20cheaters%20eventually%20get%20caught.%E2%80%9D%20%E2%80%94%20Larry%20Wall%20https%3A%2F%2Fquotesby.net%2FLarry-Wall%2F315%2F)[X (opens in a new tab)](https://twitter.com/intent/tweet?text=%E2%80%9COptimizations%20always%20bust%20things%2C%20because%20all%20optimizations%20are%2C%20in%20the%20long%20haul%2C%20a%20form%20of%20cheating%2C%20and%20cheaters%20eventually%20get%20caught.%E2%80%9D%20%E2%80%94%20Larry%20Wall&url=https%3A%2F%2Fquotesby.net%2FLarry-Wall%2F315%2F)[Facebook (opens in a new tab)](https://www.facebook.com/sharer/sharer.php?u=https%3A%2F%2Fquotesby.net%2FLarry-Wall%2F315%2F)

## About this quote

What does it mean?Wall claims optimizations are a form of cheating that eventually fail.In plain termsOptimizations can break things and are risky.What can you take from it?Prioritize correctness over premature optimization.

### Where it applies

- performance tuning
- code refactoring

### Putting it to work

- benchmark before optimizing
- write clear tests

### Questions to consider

- When is optimization justified?
- How to balance speed and reliability?

### Another view

Some optimizations are essential for practical performance.

## More from Larry Wall

1. > What you'll need most is courage. It is not an easy path that you've set your foot upon.

[Permalink to quote \#314](https://quotesby.net/Larry-Wall/314/ "Permalink to quote 314")
2. > Many computer scientists have fallen into the trap of trying to define languages like George Orwell's Newspeak, in which it is impossible to think bad thoughts…

[Permalink to quote \#313](https://quotesby.net/Larry-Wall/313/ "Permalink to quote 313")
3. > If ease of use was the highest goal, we'd all be driving golf carts.

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

## Related quotes

1. > In computer science, it is said that premature optimization is the root of all evil.

[Larry Wall](https://quotesby.net/Larry-Wall)[Larry Wall quote \#285](https://quotesby.net/Larry-Wall/285/ "Permalink to quote 285")
2. > Marcia: Lovely. Yeah, go the rock chick. Yeah, um, you've been so great through this competition. Um, we've said no, you've come back blah blah blah blah. (sic…

[Hayley Jensen](https://quotesby.net/Hayley-Jensen)[Hayley Jensen quote \#4](https://quotesby.net/Hayley-Jensen/4/ "Permalink to quote 4")
3. > I like to take chances, and that's the key to comedy -- dancing like an idiot but doing it with wild abandon.

[Megan Mullally](https://quotesby.net/Megan-Mullally)[Megan Mullally quote \#8](https://quotesby.net/Megan-Mullally/8/ "Permalink to quote 8")

```json
{
    "@context": "https://schema.org",
    "@type": "Quotation",
    "text": "Optimizations always bust things, because all optimizations are, in the long haul, a form of cheating, and cheaters eventually get caught.",
    "url": "https://quotesby.net/Larry-Wall/315/",
    "spokenByCharacter": {
        "@type": "Person",
        "name": "Larry Wall"
    }
}
{
    "@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": "Larry Wall",
            "item": "https://quotesby.net/Larry-Wall"
        },
        {
            "@type": "ListItem",
            "position": 4,
            "name": "Quote #315",
            "item": "https://quotesby.net/Larry-Wall/315/"
        }
    ]
}
```
