Skip to content

I couldn't resist the temptation to put in a null…

“I couldn't resist the temptation to put in a null reference, simply because it was so easy to implement. This has led to innumerable errors, vulnerabilities, and system crashes, which have probably caused a billion dollars of pain and damage in the last forty years.” quote by Tony Hoare
Download Open image
“I couldn't resist the temptation to put in a null reference, simply because it was so easy to implement. This has led to innumerable errors, vulnerabilities, and system crashes, which have probably caused a billion dollars of pain and damage in the last forty years.”

Tony Hoare

About This Quote

This interpretation was drafted with AI assistance. It is one reading of the quote, not the author's own explanation.

Using null references for convenience leads to widespread bugs and costly failures.

In simple terms: Nulls cause many errors and damage.

Key Takeaway

Avoid nulls; use safer alternatives.

Themes

software reliability error handling design patterns

Mood

cautionary technical

Type

practical educational

When to use this quote

  • code reviews
  • system architecture
  • testing
  • maintenance

Key Concepts

null safety type systems

Questions to Reflect On

  • What strategies replace nulls safely?
  • How can teams refactor existing null-heavy code?
A Different Perspective

Legacy code may still rely on nulls, making transition hard.

★ ★ ★ ★ ★ No ratings yet

More by Tony Hoare

Explore all 22 Tony Hoare quotes

More Billions quotes

Browse all 1,864 Billions quotes