Grace Hopper — "The computer will do what you tell it to do, but that may not be what you want i…"

The computer will do what you tell it to do, but that may not be what you want it to do.
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

A common warning about the precision required in programming.

Date: 1970s-1980s

General

Verification

Unverifiable

Found in 1 providers: grok

1 source checked

Understanding this quote

What it means

Computers execute instructions with perfect literal precision — they have no judgment, no ability to infer what you actually meant. The gap between what you specify and what you intend is entirely your responsibility to close. A tiny imprecision in your instructions produces unexpected results the machine considers completely correct. Programming is fundamentally an exercise in translating human intention into exact, unambiguous commands the machine will follow without interpretation or common sense.

Relevance to Grace Hopper

Hopper developed the first compiler and co-created COBOL, spending decades bridging human language and machine logic. As a Navy officer and computer scientist from the 1940s onward, she trained generations of programmers to think precisely. Her famous nanosecond wire demonstrations showed how ruthlessly literal computation is. This quote distills her core teaching philosophy: the machine is never wrong, but your instructions might fail to capture what you actually needed.

The era

Hopper worked as computing expanded from military ENIAC-era machines into business and government infrastructure through the 1950s-1980s. Early programmers wrote machine code where one wrong bit crashed systems. As higher-level languages like COBOL made programming more accessible, logical errors replaced syntax errors as the primary danger. This quote warned a new, less technically rigorous generation of programmers that abstraction from hardware didn't eliminate the need for precise, intentional specification.

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

Your Cart

Your cart is empty