---
title: "break; /* don't do magic till later */ — Larry Wall Quote #242 | QuotesBy.net"
description: "break; /* don't do magic till later */ — a quote by Larry Wall."
image: "https://quotesby.net/wp-content/themes/quotesby-editorial/assets/og-default.png"
---

> # break; /\* don't do magic till later \*/

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

[Programming](https://quotesby.net/Larry-Wall/programming/)[Software](https://quotesby.net/Larry-Wall/software/)[Debugging](https://quotesby.net/Larry-Wall/debugging/)[Best practices](https://quotesby.net/Larry-Wall/best-practices/)[Control](https://quotesby.net/Larry-Wall/control/)

[WhatsApp (opens in a new tab)](https://wa.me/?text=%E2%80%9Cbreak%3B%20%2F%2A%20don%27t%20do%20magic%20till%20later%20%2A%2F%E2%80%9D%20%E2%80%94%20Larry%20Wall%20https%3A%2F%2Fquotesby.net%2FLarry-Wall%2F242%2F)[X (opens in a new tab)](https://twitter.com/intent/tweet?text=%E2%80%9Cbreak%3B%20%2F%2A%20don%27t%20do%20magic%20till%20later%20%2A%2F%E2%80%9D%20%E2%80%94%20Larry%20Wall&url=https%3A%2F%2Fquotesby.net%2FLarry-Wall%2F242%2F)[Facebook (opens in a new tab)](https://www.facebook.com/sharer/sharer.php?u=https%3A%2F%2Fquotesby.net%2FLarry-Wall%2F242%2F)

## About this quote

What does it mean?The comment advises postponing magical operations until later, attached to a break statement.In plain termsDon't do magic yet; break first.What can you take from it?Separate simple control flow from complex operations.

### Where it applies

- debugging
- feature implementation

### Putting it to work

- use break to isolate sections
- add complex code later

### Questions to consider

- When should you defer complexity?
- How to ensure later addition doesn't break flow?

### Another view

Delaying needed logic may cause later integration issues.

## More from Larry Wall

1. > /\* And you'll never guess what the dog had \*/ /\* in its mouth... \*/

[Permalink to quote \#241](https://quotesby.net/Larry-Wall/241/ "Permalink to quote 241")
2. > str-&gt;str\_pok \|= SP\_FBM; /\* deep magic \*/ s = (unsigned char\*)(str-&gt;str\_ptr); /\* deeper magic \*/

[Permalink to quote \#246](https://quotesby.net/Larry-Wall/246/ "Permalink to quote 246")
3. > double value; /\* or your money back! \*/ short changed; /\* so triple your money back! \*/

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

## Related quotes

1. > If you try to solve a hard problem, the question is not whether you will use a powerful enough language, but whether you will (a) use a powerful language, (b) …

[Paul Graham](https://quotesby.net/Paul-Graham)[Paul Graham quote \#5](https://quotesby.net/Paul-Graham/5/ "Permalink to quote 5")
2. > A programming language is for thinking of programs, not for expressing programs you've already thought of.

[Paul Graham](https://quotesby.net/Paul-Graham)[Paul Graham quote \#10](https://quotesby.net/Paul-Graham/10/ "Permalink to quote 10")
3. > Portability is for people who cannot write new programs.

[Linus Torvalds](https://quotesby.net/Linus-Torvalds)[Linus Torvalds quote \#16](https://quotesby.net/Linus-Torvalds/16/ "Permalink to quote 16")

```json
{
    "@context": "https://schema.org",
    "@type": "Quotation",
    "text": "break; /* don't do magic till later */",
    "url": "https://quotesby.net/Larry-Wall/242/",
    "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 #242",
            "item": "https://quotesby.net/Larry-Wall/242/"
        }
    ]
}
```
