Straight from today’s Quotle — here’s who really said it, and the story behind it. Play again

Who really said it

Beware of bugs in the above code; I have only proved it correct, not tried it

Written by Donald Knuth
Attribution status: Verified Reuse status: In copyright

The final sentence is visible on page 5 of Knuth’s March 1977 priority-deque classroom note, preserved in a University of Amsterdam facsimile.

Last verified 30 Nov 2026 · how we verify · spot an error?

For presentations

Put it on a slide

Verified quote & credit

“Beware of bugs in the above code; I have only proved it correct, not tried it” — Donald Knuth

Can you use it?

Still under copyright (rights held by Donald E.Knuth and applicable rights holders). A short, credited quote is generally fine for talks, teaching, and internal decks; for commercial, published, or large-scale reuse, get permission.

Image direction — grounded in this quote’s real context; paste into your image tool

In context

Evoking the world of Donald Knuth — American computer scientist. Theme: "Beware of bugs in the above code; I have only proved it correct, not tried it". Atmospheric and restrained, cinematic directional light, a muted period-appropriate palette, fine grain and texture. Compose with generous empty space for the quote and a small credit line. No lettering in the image itself.

Minimalist

Minimalist editorial slide for the quote "Beware of bugs in the above code; I have only proved it correct, not tried it". Clean background, a single muted accent color, generous negative space, subtle paper or linen texture, no literal illustration — let the words carry it. Reserve clear space for a serif quote and a small credit line. No lettering in the image itself.

Provenance

The source

Work
Notes on the van Emde Boas construction of priority deques:An instructive use of recursion
Memo circulated
March 1977; copy mailed 29 March 1977
Location in text
Classroom note, p. 5; facsimile PDF, p. 7

Beware of bugs

Three words from the original note’s final sentence. The university archive’s introduction dates the covering correspondence 29 March 1977; the note itself is labeled March 1977.

Read the source reference

How we verified this

  • Wikiquote identifies the 1977 memo as the source, though its linked current FAQ no longer displays that historical answer. Specialist source lead ↗
  • The university-hosted facsimile shows the sentence at the bottom of the note’s fifth page. See the original note ↗

Context

Why it mattered

The joke depends on the gap between a proof about an algorithm and an untested implementation. Its original position beneath actual code gives it a sharper meaning than a blanket dismissal of mathematical proof.

Explore

Filed under

More provenance-checked quotes on the same theme, each with its reuse status.

Go further

Dig deeper

Trusted places to keep pulling the thread — primary archives, fact-checks, and scholarship. We show how we used each one before you leave.

The author

About Donald Knuth

Donald Knuth

Born 1938 · American computer scientist

Donald Knuth is an American computer scientist associated with Stanford University. His work includes The Art of Computer Programming and research on algorithms and typesetting.

For writers & researchers

Cite this

The primary source (Chicago)

Donald Knuth. Notes on the van Emde Boas construction of priority deques:An instructive use of recursion. Classroom note, p. 5; facsimile PDF, p. 7. 1977. https://staff.fnwi.uva.nl/p.vanemdeboas/knuthnote.pdf

This verification page

Quotle.info. “Who really said ‘Beware of bugs in the above code; I have only proved it correct, not tried it’?” Last verified 30 Nov 2026. https://quotle.info/who-said/beware-of-bugs-in-the-above-code-i-have-only-proved-it/

Something wrong on this page?

Tell us what’s off. A link helps but isn’t required — “this is the wrong person” is a useful report on its own. Nothing here changes the page directly; it goes to our review queue and a human checks it.

Only used to tell you if we act on your report. We never sell or share it.

Copied