---
title: "It's easy to solve the halting problem with a shotgun. :-) — Larry Wall Quote #180 | QuotesBy.net"
description: "It's easy to solve the halting problem with a shotgun. :-) — a quote by Larry Wall."
image: "https://quotesby.net/wp-content/themes/quotesby-editorial/assets/og-default.png"
---

> # It's easy to solve the halting problem with a shotgun. :-)

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

[Humor](https://quotesby.net/Larry-Wall/humor/)[Logic](https://quotesby.net/Larry-Wall/logic/)

[WhatsApp (opens in a new tab)](https://wa.me/?text=%E2%80%9CIt%27s%20easy%20to%20solve%20the%20halting%20problem%20with%20a%20shotgun.%20%3A-%29%E2%80%9D%20%E2%80%94%20Larry%20Wall%20https%3A%2F%2Fquotesby.net%2FLarry-Wall%2F180%2F)[X (opens in a new tab)](https://twitter.com/intent/tweet?text=%E2%80%9CIt%27s%20easy%20to%20solve%20the%20halting%20problem%20with%20a%20shotgun.%20%3A-%29%E2%80%9D%20%E2%80%94%20Larry%20Wall&url=https%3A%2F%2Fquotesby.net%2FLarry-Wall%2F180%2F)[Facebook (opens in a new tab)](https://www.facebook.com/sharer/sharer.php?u=https%3A%2F%2Fquotesby.net%2FLarry-Wall%2F180%2F)

## About this quote

What does it mean?A shotgun could trivially solve the undecidable halting problem.In plain termsShotgun solves the halting problem.What can you take from it?Physical force is not a logical solution.

### Where it applies

- teaching CS concepts
- jokes

### Putting it to work

- use humor to illustrate limits of algorithms

### Questions to consider

- Why is the halting problem important?

### Another view

It's a joke, not a real method.

## More from Larry Wall

1. > Perl will always provide the null.

[Permalink to quote \#179](https://quotesby.net/Larry-Wall/179/ "Permalink to quote 179")
2. > Well, I think Perl should run faster than C. :-)

[Permalink to quote \#181](https://quotesby.net/Larry-Wall/181/ "Permalink to quote 181")
3. > It's hard to tune heavily tuned code. :-)

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

## Related quotes

1. > I think that it's extraordinarily important that we in computer science keep fun in computing. When it started out, it was an awful lot of fun. Of course, the …

[Alan Perlis](https://quotesby.net/Alan-Perlis)[Alan Perlis quote \#1](https://quotesby.net/Alan-Perlis/1/ "Permalink to quote 1")
2. > Well, if I called the wrong number, why did you answer the phone?

[James Thurber](https://quotesby.net/James-Thurber)[James Thurber quote \#2](https://quotesby.net/James-Thurber/2/ "Permalink to quote 2")
3. > 'Great-grandfather died under strange circumstances. He opened a vein in his bath.' 'I never knew baths had veins,' protested Gabrilowitsch.' 'I never knew his…

[S. J. Perelman](https://quotesby.net/S.-J.-Perelman)[S. J. Perelman quote \#2](https://quotesby.net/S.-J.-Perelman/2/ "Permalink to quote 2")

```json
{
    "@context": "https://schema.org",
    "@type": "Quotation",
    "text": "It's easy to solve the halting problem with a shotgun. :-)",
    "url": "https://quotesby.net/Larry-Wall/180/",
    "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 #180",
            "item": "https://quotesby.net/Larry-Wall/180/"
        }
    ]
}
```
