---
title: "I was trying not to mention backtracking. Which, of course, means tha… — Larry Wall Quote #147 | QuotesBy.net"
description: "I was trying not to mention backtracking. Which, of course, means that yours is 'righter' than mine, in a theoretical sense. — a quote by Larry Wall."
image: "https://quotesby.net/wp-content/themes/quotesby-editorial/assets/og-default.png"
---

> # I was trying not to mention backtracking. Which, of course, means that yours is 'righter' than mine, in a theoretical sense.

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

[Design](https://quotesby.net/Larry-Wall/design/)[Performance](https://quotesby.net/Larry-Wall/performance/)[Theory](https://quotesby.net/topics/theory/)

[WhatsApp (opens in a new tab)](https://wa.me/?text=%E2%80%9CI%20was%20trying%20not%20to%20mention%20backtracking.%20Which%2C%20of%20course%2C%20means%20that%20yours%20is%20%27righter%27%20than%20mine%2C%20in%20a%20theoretical%20sense.%E2%80%9D%20%E2%80%94%20Larry%20Wall%20https%3A%2F%2Fquotesby.net%2FLarry-Wall%2F147%2F)[X (opens in a new tab)](https://twitter.com/intent/tweet?text=%E2%80%9CI%20was%20trying%20not%20to%20mention%20backtracking.%20Which%2C%20of%20course%2C%20means%20that%20yours%20is%20%27righter%27%20than%20mine%2C%20in%20a%20theoretical%20sense.%E2%80%9D%20%E2%80%94%20Larry%20Wall&url=https%3A%2F%2Fquotesby.net%2FLarry-Wall%2F147%2F)[Facebook (opens in a new tab)](https://www.facebook.com/sharer/sharer.php?u=https%3A%2F%2Fquotesby.net%2FLarry-Wall%2F147%2F)

## About this quote

What does it mean?Wall admits avoiding backtracking, noting that his version is theoretically more correct.In plain termsHe skips backtracking, making his approach theoretically stronger.What can you take from it?Sometimes a simpler algorithm can be more theoretically sound.

### Where it applies

- algorithm design
- performance tuning

### Putting it to work

- choose algorithms with clear theoretical guarantees

### Questions to consider

- When does theoretical superiority outweigh practical speed?

### Another view

Practical performance may still favor backtracking.

## More from Larry Wall

1. > 'Course, that doesn't work when 'a' contains parentheses.

[Permalink to quote \#146](https://quotesby.net/Larry-Wall/146/ "Permalink to quote 146")
2. > Not that I'm against sneaking some notions into people's heads upon occasion. (Or blasting them in outright.)

[Permalink to quote \#148](https://quotesby.net/Larry-Wall/148/ "Permalink to quote 148")
3. > That gets us out of deciding how to spell Reg\[eE\]xp?\|RE . . . Of course, then we have to decide what ref $re returns... :-)

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

## Related quotes

1. > To add speed, add lightness.

[Colin Chapman](https://quotesby.net/Colin-Chapman)[Colin Chapman quote \#4](https://quotesby.net/Colin-Chapman/4/ "Permalink to quote 4")
2. > Any car which holds together for more than a race is too heavy. (Also tongue-in-cheek, as race cars must test and qualify before the start of any race.)

[Colin Chapman](https://quotesby.net/Colin-Chapman)[Colin Chapman quote \#5](https://quotesby.net/Colin-Chapman/5/ "Permalink to quote 5")
3. > Doing linear scans over an associative array is like trying to club someone to death with a loaded Uzi.

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

```json
{
    "@context": "https://schema.org",
    "@type": "Quotation",
    "text": "I was trying not to mention backtracking. Which, of course, means that yours is 'righter' than mine, in a theoretical sense.",
    "url": "https://quotesby.net/Larry-Wall/147/",
    "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 #147",
            "item": "https://quotesby.net/Larry-Wall/147/"
        }
    ]
}
```
