---
title: "Sometimes we choose the generalization. Sometimes we don't. — Larry Wall Quote #105 | QuotesBy.net"
description: "Sometimes we choose the generalization. Sometimes we don't. — a quote by Larry Wall."
image: "https://quotesby.net/wp-content/themes/quotesby-editorial/assets/og-default.png"
---

> # Sometimes we choose the generalization. Sometimes we don't.

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

[Software](https://quotesby.net/Larry-Wall/software/)[Decision](https://quotesby.net/Larry-Wall/decision/)[Abstraction](https://quotesby.net/Larry-Wall/abstraction/)[Methodology](https://quotesby.net/topics/methodology/)

[WhatsApp (opens in a new tab)](https://wa.me/?text=%E2%80%9CSometimes%20we%20choose%20the%20generalization.%20Sometimes%20we%20don%27t.%E2%80%9D%20%E2%80%94%20Larry%20Wall%20https%3A%2F%2Fquotesby.net%2FLarry-Wall%2F105%2F)[X (opens in a new tab)](https://twitter.com/intent/tweet?text=%E2%80%9CSometimes%20we%20choose%20the%20generalization.%20Sometimes%20we%20don%27t.%E2%80%9D%20%E2%80%94%20Larry%20Wall&url=https%3A%2F%2Fquotesby.net%2FLarry-Wall%2F105%2F)[Facebook (opens in a new tab)](https://www.facebook.com/sharer/sharer.php?u=https%3A%2F%2Fquotesby.net%2FLarry-Wall%2F105%2F)

## About this quote

What does it mean?Sometimes we deliberately create broad solutions; other times we keep things specific.In plain termsWe sometimes generalize and sometimes we don’t.What can you take from it?Choose the level of abstraction that fits the problem.

### Where it applies

- coding
- policy writing
- teaching

### Putting it to work

- evaluate scope before coding
- use concrete examples when needed

### Questions to consider

- When is a specific solution better than a general one?
- How do you know when to generalize?

### Another view

Over‑generalizing can make solutions vague or inefficient.

## More from Larry Wall

1. > Part of language design is perturbing the proposed feature in various directions to see how it might generalize in the future.

[Permalink to quote \#104](https://quotesby.net/Larry-Wall/104/ "Permalink to quote 104")
2. > I wouldn't ever write the full sentence myself, but then, I never use goto either.

[Permalink to quote \#106](https://quotesby.net/Larry-Wall/106/ "Permalink to quote 106")
3. > I'm serious about thinking through all the possibilities before we settle on anything. All things have the advantages of their disadvantages, and vice versa.

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

## Related quotes

1. > History, like a vast river, propels logs, vegetation, rafts, and debris; it is full of live and dead things, some destined for resurrection; it mingles many wa…

[Jacques Barzun](https://quotesby.net/Jacques-Barzun)[Jacques Barzun quote \#11](https://quotesby.net/Jacques-Barzun/11/ "Permalink to quote 11")
2. > 'Let it be so.'

[Guglielmo Marconi](https://quotesby.net/Guglielmo-Marconi)[Guglielmo Marconi quote \#1](https://quotesby.net/Guglielmo-Marconi/1/ "Permalink to quote 1")
3. > My Unstoppable Determination for His Holiness. 'Whether it means life or death-it makes no difference!' (see Philippians 1:21 ). Paul was determined that nothi…

[Oswald Chambers](https://quotesby.net/Oswald-Chambers)[Oswald Chambers quote \#1](https://quotesby.net/Oswald-Chambers/1/ "Permalink to quote 1")

```json
{
    "@context": "https://schema.org",
    "@type": "Quotation",
    "text": "Sometimes we choose the generalization. Sometimes we don't.",
    "url": "https://quotesby.net/Larry-Wall/105/",
    "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 #105",
            "item": "https://quotesby.net/Larry-Wall/105/"
        }
    ]
}
```
