Grace Hopper — "We had a problem with a moth. The moth was in the relay. We got it out and taped…"

We had a problem with a moth. The moth was in the relay. We got it out and taped it in the logbook.
Grace Hopper — Grace Hopper Modern · Computer programming pioneer

Get This Quote & Author's Image Illustrated On:

Click any product to generate a realistic preview. Up to 3 at a time.
* Initial load can take up to 90 seconds — revising the preview in another color is nearly instant.

Kitchen

Apparel

Other

Details

Recalling the origin of the term 'debugging' in computing.

Date: 1940s

General

Verification

Unverifiable

Found in 1 providers: grok

1 source checked

Understanding this quote

What it means

A moth lodged inside a relay—an electromechanical switch—was causing the Harvard Mark II computer to malfunction. The team removed it and taped it into the logbook as physical evidence of the fault. Deadpan and precise, it documents what became known as the first literal computer 'bug' ever recorded, permanently anchoring the term 'debugging'—finding and fixing errors in a system—into the language every programmer still uses today.

Relevance to Grace Hopper

Grace Hopper was a US Navy Rear Admiral and mathematician who helped program the Harvard Mark I and II in the 1940s. Her career was defined by relentless practicality and meticulous documentation. The logbook entry—with the actual moth taped inside—now sits in the Smithsonian. It mirrors her lifelong belief that problems must be named, measured, and recorded rather than glossed over, the same discipline behind her later invention of the first compiler.

The era

In 1947, computers were room-sized electromechanical machines using physical relay switches that insects could physically jam. Debugging meant tracing hardware failures by hand, not reading code. Military-funded labs like Harvard's Computation Lab were racing to push machine calculation to its limits for postwar science and defense. Every fault required manual inspection and written documentation. Hopper's systematic logbook discipline, unremarkable to her, quietly established the engineering rigor that software development would eventually codify as standard practice.

AI-generated insights based on extensive research and information for context. Factual errors? Email [email protected].

Your Cart

Your cart is empty