---
title: "If this were Ada, I suppose we'd just constant fold 1/0 into die 'Ill… — Larry Wall Quote #172 | QuotesBy.net"
description: "If this were Ada, I suppose we'd just constant fold 1/0 into die 'Illegal division by zero — a quote by Larry Wall."
image: "https://quotesby.net/wp-content/themes/quotesby-editorial/assets/og-default.png"
---

> # If this were Ada, I suppose we'd just constant fold 1/0 into die 'Illegal division by zero

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

[Programming](https://quotesby.net/Larry-Wall/programming/)[Safety](https://quotesby.net/Larry-Wall/safety/)[Ada](https://quotesby.net/Larry-Wall/ada/)

[WhatsApp (opens in a new tab)](https://wa.me/?text=%E2%80%9CIf%20this%20were%20Ada%2C%20I%20suppose%20we%27d%20just%20constant%20fold%201%2F0%20into%20die%20%27Illegal%20division%20by%20zero%E2%80%9D%20%E2%80%94%20Larry%20Wall%20https%3A%2F%2Fquotesby.net%2FLarry-Wall%2F172%2F)[X (opens in a new tab)](https://twitter.com/intent/tweet?text=%E2%80%9CIf%20this%20were%20Ada%2C%20I%20suppose%20we%27d%20just%20constant%20fold%201%2F0%20into%20die%20%27Illegal%20division%20by%20zero%E2%80%9D%20%E2%80%94%20Larry%20Wall&url=https%3A%2F%2Fquotesby.net%2FLarry-Wall%2F172%2F)[Facebook (opens in a new tab)](https://www.facebook.com/sharer/sharer.php?u=https%3A%2F%2Fquotesby.net%2FLarry-Wall%2F172%2F)

## About this quote

What does it mean?In Ada, a division by zero would be caught at compile time and turned into a runtime error.In plain termsAda would turn 1/0 into a compile‑time error.What can you take from it?Use languages that detect illegal operations early.

### Where it applies

- safety‑critical systems
- static analysis

### Putting it to work

- choose safe languages
- enable compiler warnings

### Questions to consider

- What are the trade‑offs of compile‑time versus runtime checks?
- How does language choice impact safety?

### Another view

Not all languages can catch every runtime error at compile time.

## More from Larry Wall

1. > Portability should be the default.

[Permalink to quote \#171](https://quotesby.net/Larry-Wall/171/ "Permalink to quote 171")
2. > Are you perchance running on a 64-bit machine?

[Permalink to quote \#173](https://quotesby.net/Larry-Wall/173/ "Permalink to quote 173")
3. > And other operators aren't so special syntactically, but weird in other ways, like 'scalar', and 'goto'.

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

## Related quotes

1. > It's there as a sop to former Ada programmers. :-)

[Larry Wall](https://quotesby.net/Larry-Wall)[Larry Wall quote \#35](https://quotesby.net/Larry-Wall/35/ "Permalink to quote 35")
2. > Perl itself is usually pretty good about telling you what you shouldn't do. :-)

[Larry Wall](https://quotesby.net/Larry-Wall)[Larry Wall quote \#40](https://quotesby.net/Larry-Wall/40/ "Permalink to quote 40")
3. > Don't order one for the road, because the road is already laid out.

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

```json
{
    "@context": "https://schema.org",
    "@type": "Quotation",
    "text": "If this were Ada, I suppose we'd just constant fold 1/0 into die 'Illegal division by zero",
    "url": "https://quotesby.net/Larry-Wall/172/",
    "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 #172",
            "item": "https://quotesby.net/Larry-Wall/172/"
        }
    ]
}
```
