---
title: "If I allowed 'next $label' then I'd also have to allow 'goto $label',… — Larry Wall Quote #32 | QuotesBy.net"
description: "If I allowed 'next $label' then I'd also have to allow 'goto $label', and I don't think you really want that... :-) — a quote by Larry Wall."
image: "https://quotesby.net/wp-content/themes/quotesby-editorial/assets/og-default.png"
---

> # If I allowed 'next $label' then I'd also have to allow 'goto $label', and I don't think you really want that... :-)

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

[Programming](https://quotesby.net/Larry-Wall/programming/)[Language](https://quotesby.net/Larry-Wall/language/)[Syntax](https://quotesby.net/Larry-Wall/syntax/)[Language design](https://quotesby.net/Larry-Wall/language-design/)[Control](https://quotesby.net/Larry-Wall/control/)

[WhatsApp (opens in a new tab)](https://wa.me/?text=%E2%80%9CIf%20I%20allowed%20%27next%20%24label%27%20then%20I%27d%20also%20have%20to%20allow%20%27goto%20%24label%27%2C%20and%20I%20don%27t%20think%20you%20really%20want%20that...%20%3A-%29%E2%80%9D%20%E2%80%94%20Larry%20Wall%20https%3A%2F%2Fquotesby.net%2FLarry-Wall%2F32%2F)[X (opens in a new tab)](https://twitter.com/intent/tweet?text=%E2%80%9CIf%20I%20allowed%20%27next%20%24label%27%20then%20I%27d%20also%20have%20to%20allow%20%27goto%20%24label%27%2C%20and%20I%20don%27t%20think%20you%20really%20want%20that...%20%3A-%29%E2%80%9D%20%E2%80%94%20Larry%20Wall&url=https%3A%2F%2Fquotesby.net%2FLarry-Wall%2F32%2F)[Facebook (opens in a new tab)](https://www.facebook.com/sharer/sharer.php?u=https%3A%2F%2Fquotesby.net%2FLarry-Wall%2F32%2F)

## About this quote

What does it mean?The author refuses to implement ‘next $label’ because it would require also allowing ‘goto $label’, which he believes users don’t want.In plain termsAdding ‘next $label’ would force us to add ‘goto $label’, which isn’t desired.What can you take from it?Avoid language features that open doors to undesirable constructs.

### Where it applies

- language design discussions
- feature proposals

### Putting it to work

- evaluate downstream implications before adding syntax
- consult user community

### Questions to consider

- How to balance safety and flexibility?
- What criteria decide feature inclusion?

### Another view

Restricting features may limit flexibility for some advanced users.

## More from Larry Wall

1. > Hey, I had to let awk be better at \*something\*... :-)

[Permalink to quote \#31](https://quotesby.net/Larry-Wall/31/ "Permalink to quote 31")
2. > In general, if you think something isn't in Perl, try it out, because it usually is. :-)

[Permalink to quote \#33](https://quotesby.net/Larry-Wall/33/ "Permalink to quote 33")
3. > Besides, it's good to force C programmers to use the toolbox occasionally. :-)

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

## Related quotes

1. > &gt; (It's sorta like sed, but not. It's sorta like awk, but not. etc.) Guilty as charged. Perl is happily ugly, and happily derivative.

[Larry Wall](https://quotesby.net/Larry-Wall)[Larry Wall quote \#51](https://quotesby.net/Larry-Wall/51/ "Permalink to quote 51")
2. > So far we've managed to avoid turning Perl into APL. :-)

[Larry Wall](https://quotesby.net/Larry-Wall)[Larry Wall quote \#72](https://quotesby.net/Larry-Wall/72/ "Permalink to quote 72")
3. > We toast the Lisp programmer who pens his thoughts within nests of parentheses.

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

```json
{
    "@context": "https://schema.org",
    "@type": "Quotation",
    "text": "If I allowed 'next $label' then I'd also have to allow 'goto $label', and I don't think you really want that... :-)",
    "url": "https://quotesby.net/Larry-Wall/32/",
    "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 #32",
            "item": "https://quotesby.net/Larry-Wall/32/"
        }
    ]
}
```
