Skip to content
quotesby

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 terms
Ada 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
  2. Are you perchance running on a 64-bit machine?

    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

Related quotes

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

    Larry WallLarry Wall quote #35
  2. Perl itself is usually pretty good about telling you what you shouldn't do. :-)

    Larry WallLarry Wall quote #40
  3. Don't order one for the road, because the road is already laid out.

    Flip WilsonFlip Wilson quote #1