Cover of Code by Charles Petzold
Science · first published 1999

Code

by Charles Petzold

★ Top 25 book of 1999 · #22 on Best Books of 1999

Using everyday things like Braille, Morse code and flashlights, this book unpacks how computers really work and why people have always invented new ways to communicate. It is illustrated, approachable, and aimed at any reader curious about the hidden life of smart machines.

Best for: Curious readers of any technical level who want to understand how computers work

Code is #22 on BookWard's Best Books of 1999, out of 52 1999 books that cleared our data bar.

Add to my shelf, freeSee all Best Books of 1999

#22on Best Books of 1999
51BookWard year score
255Open Library readers
4.2 ★22 ratings

What Code is about

Computers can feel like sealed boxes, but Charles Petzold argues that they grew out of something very human: our ingenuity and our urge to communicate. Over the past two centuries, that drive led people to invent new ways of sending messages and manipulating language, and those inventions eventually became the technology around us.

The book builds its case from everyday things, such as flashlights, seesaws, Braille, and Morse code, and moves patiently toward an understanding of how machines really work inside. The explanations are cleverly illustrated and easy to follow, and they are meant for readers of any technical level. It will suit anyone curious about the hidden life of computers and smart machines, and anyone who wants some context for PCs, digital media, and the Internet without needing a degree to get through it.

Code on the Best Books of 1999

Code came out in 1999. Of the 52 books first published in 1999 that met BookWard's data bar, it ranks #22 on our Best Books of 1999 list.

Why it made the list: 255 readers have shelved it on Open Library; readers rate it 4.2 out of 5 (22 ratings). The list ranks each year’s books on how many readers have picked them up, how highly readers rate them, and how many are reading them right now.

Nearby on the 1999 list

See all Best Books of 1999 Best books by year

More years: Best Books of 1998 Best Books of 2000.

The numbers behind it

  • Readers: 213 want to read it, 11 are reading it now and 31 have read it, according to Open Library.
  • Ratings: 4.2 out of 5 from 22 Open Library ratings.
SignalThis book (0 to 100)Weight
Reach4255%
Reader love7725%
Being read right now4020%

Questions about Code

When was Code published?

Code by Charles Petzold was first published in 1999.

Was Code one of the best books of 1999?

Code is #22 on BookWard's Best Books of 1999, out of 52 1999 books that cleared our data bar. 255 readers have shelved it on Open Library; readers rate it 4.2 out of 5 (22 ratings).

Why is Code on the Best Books of 1999 list?

255 readers have shelved it on Open Library; readers rate it 4.2 out of 5 (22 ratings).

More of the best books of 1999

See the full Best Books of 1999, the Top 100, or new books on Rising.

How we know

This page uses public data: Open Library reader counts and ratings, and Wikipedia page views for recent years. The description is paraphrased from real source text. Rankings reflect reading interest, not quality or sales, and can be affected by data gaps. Lists update monthly.

Who it is for

Best suited to curious teens and adults willing to work through technical ideas step by step; no prior expertise is needed.

Time to read

Depends on the edition you pick.

BookWard’s verdict

Flashlights to microprocessors: how computers actually work, built from nothing. 53% taste match

Get it

Where to find it

BookWard’s take

Flashlights to microprocessors: how computers actually work, built from nothing

Petzold opens with two kids signaling to each other by flashlight and builds, one clear step at a time, toward the inner workings of a computer. It's an unusual kind of hook: a patient promise that the machine will stop being magic. The rigor is high, because each layer rests firmly on the one before it, and the internal logic is close to airtight. Exposition is the whole point here, so the book explains outright rather than dramatizing, and it is driven by ideas from start to finish. The prose stays plain and friendly. The reading gets harder as the circuits stack up, so the pace is deliberate, but the climb never sags; it stays rewarding all the way through. It repays a reader willing to slow down and think.

Read it ifYou want to understand how a computer really works, from the ground up, and you are willing to think carefully along the way.
Skip it ifYou want a quick, light overview of technology or a story-driven read with characters and plot.
Where this book sits on our ten dials
BookWard’s tasteThis book1 to 10 scale
LengthExtreme
Tight and shortLong and sprawling

A full, layered build from signals to circuits runs longer than a tight read; BookWard favors short, so this asks for patience.

PaceStrong
SlowFast

It moves at the speed of understanding, steady and deliberate rather than quick, a little slower than BookWard's taste.

OriginalityStrong
FamiliarOriginal

Teaching computing through Braille, Morse code and seesaws is a fresh route into a well-worn subject.

ProseLeaning
PlainOrnate

The writing is plain and clear, built for understanding rather than ornament, a bit plainer than BookWard's middle ground.

DriveNot applicableLeaning
Plot-drivenCharacter-driven

There is no plot or character arc to be driven by, so the dial does not apply.

OutlookLeaning
BleakHopeful

It treats human ingenuity and the urge to communicate as a source of wonder, an upbeat outlook that suits BookWard.

StructureLeaning
ConventionalExperimental

The structure is a deliberate staircase of concepts, mostly conventional but with a careful design.

ToneLeaning
SeriousFunny

Light, friendly touches appear now and then, but the tone stays mostly earnest and instructive.

ContentCentered
GentleDark

Nothing in it is dark; it is an upbeat exploration of invention.

EmotionCentered
RestrainedIntense

It engages curiosity and wonder more than strong emotion.

See all 50 dialsEvery position, side by side with this book

Where it lines up

  • Internal logicBookWard 10 · book 10
  • Rigor (nonfiction)BookWard 9 · book 9
  • Sagging middleBookWard 8 · book 8

Where it pulls apart

  • ExpositionBookWard 2 · book 10
  • LengthBookWard 1 · book 6
  • Story or ideasBookWard 3 · book 10
BookWard’s tasteThis book1 to 10 scale
Extreme 4 dials
LengthExtreme
Tight and shortLong and sprawling

A full, layered build from signals to circuits runs longer than a tight read; BookWard favors short, so this asks for patience.

OpeningExtreme
Slow buildHooks at once

The flashlight and Morse code opening is a gentle, concrete invitation rather than a jolt, though curiosity pulls you in quickly.

Familiar tropesExtreme
Leans on tropesAvoids them

It avoids the usual popular-tech clichés by teaching from first principles with everyday objects, which BookWard likes.

Internal logicExtreme
LooseAirtight

Each concept is built directly on the one before, so the chain of reasoning holds together tightly, just as BookWard wants.

Strong 11 dials
PaceStrong
SlowFast

It moves at the speed of understanding, steady and deliberate rather than quick, a little slower than BookWard's taste.

OriginalityStrong
FamiliarOriginal

Teaching computing through Braille, Morse code and seesaws is a fresh route into a well-worn subject.

Character depthNot applicableStrong
TypesDeeply drawn

This is an explanatory book with no characters to draw, so the dial does not apply.

EndingStrong
Open, ambiguousFully resolved

The build arrives at a working picture of the computer, a satisfying resolution that matches BookWard's liking for closure.

SentimentStrong
SentimentalRestrained

The tone is warm but not sappy, keeping to restraint and clarity, in line with BookWard.

Shock for effectNot applicableStrong
Leans on shockEarns its darkness

Nothing here is dark or shocking for effect, so the dial does not apply.

Rigor (nonfiction)Strong
AnecdotalRigorous

It builds the machine step by step from first principles, which is the kind of rigor BookWard prizes.

Authorial voiceStrong
GenericDistinctive

Petzold's friendly, patient teaching voice is recognizable without ever calling attention to itself.

Story or ideasStrong
Story-ledIdea-led

Ideas drive the whole book; there is no plot beyond the progression of concepts, far more idea-led than BookWard's usual lean.

ExpositionStrong
Shown in sceneExplained outright

Explaining outright is the entire method, well beyond BookWard's preference for showing in scene, though it is the right tool here.

Sagging middleStrong
Sags in the middleSustained throughout

Every chapter adds a new layer, so momentum holds rather than flagging, which BookWard appreciates.

Leaning 25 dials
ProseLeaning
PlainOrnate

The writing is plain and clear, built for understanding rather than ornament, a bit plainer than BookWard's middle ground.

DriveNot applicableLeaning
Plot-drivenCharacter-driven

There is no plot or character arc to be driven by, so the dial does not apply.

OutlookLeaning
BleakHopeful

It treats human ingenuity and the urge to communicate as a source of wonder, an upbeat outlook that suits BookWard.

StructureLeaning
ConventionalExperimental

The structure is a deliberate staircase of concepts, mostly conventional but with a careful design.

ToneLeaning
SeriousFunny

Light, friendly touches appear now and then, but the tone stays mostly earnest and instructive.

Reading effortLeaning
EasyDemanding

The later layers of circuitry reward slow, focused reading, so it asks more effort than BookWard's typical comfort zone.

ViewpointsLeaning
SingleMany

One teacher speaks throughout, a single steady viewpoint.

TimelineLeaning
LinearShifting

It moves forward in a clean progression from simple signals to complex machines.

RealityLeaning
GroundedFantastical

Everything is grounded in real objects and real physics, with nothing fantastical at all.

Cast sizeLeaning
SmallLarge

There is essentially no cast beyond the author guiding the reader.

ScaleLeaning
IntimateEpic

It spans two centuries of communication and technology, yet stays at the human, bench-top level of explanation.

FocusLeaning
Inner thoughtsOuter action

It leans toward thinking through how systems work rather than action, closer to the inner-thought pole.

DialogueLeaning
LightHeavy

This is an explanatory text with almost no dialogue.

RomanceLeaning
MinorCentral

No romance appears in a book about how machines work.

SettingLeaning
FamiliarUnfamiliar

The world of switches, relays and logic gates is new to many readers, though built from familiar objects.

EraLeaning
PastPresent day

Written in 1999 and tracing history, it sits between past and present in feel.

Staying powerLeaning
Of its momentTimeless

Because it teaches fundamentals that do not change, it holds up well as technology moves on.

NarratorLeaning
ReliableUnreliable

The author explains plainly and directly, a fully reliable guide.

Moral clarityNot applicableLeaning
ClearAmbiguous

This is a how-it-works book without moral questions, so the dial does not apply.

DescriptionLeaning
SparseRich

Diagrams and concrete everyday imagery carry much of the explaining, giving a moderate richness.

Nonfiction styleLeaning
NarrativeAnalytical

It tells a story of invention and builds toward understanding, more narrative than a dry analytical text.

PerspectiveLeaning
PersonalDetached

The author stays in the background as a guide, though the tone is approachable rather than clinical.

SeriesLeaning
StandalonePart of a series

It is a standalone book.

SurprisesLeaning
FewMany

The surprises are insights as concepts click into place, rather than plot reversals.

Comfort or challengeLeaning
ComfortingChallenging

It stretches your thinking more than it comforts, though it never feels hostile.

Centered 10 dials
ContentCentered
GentleDark

Nothing in it is dark; it is an upbeat exploration of invention.

EmotionCentered
RestrainedIntense

It engages curiosity and wonder more than strong emotion.

Humor styleCentered
DryBroad

Any humor is mild and gentle rather than broad.

Violence on the pageCentered
LittleA lot

There is no violence in this book.

Sexual contentCentered
LittleA lot

There is no sexual content in this book.

PoliticsCentered
AbsentFront and center

The book stays out of politics entirely.

Language difficultyCentered
PlainDialect or dense

The language is plain, with technical terms introduced carefully and defined as they appear.

NarrationCentered
NeutralOpinionated

It mostly explains neutrally, with a light touch of the author's enthusiasm.

LooksCentered
BackForward

It traces history to explain the present, and gestures at where computing has led.

WorldviewCentered
CynicalIdealistic

It celebrates human ingenuity and curiosity with a quietly idealistic warmth.

Review written by BookWard, dial version 1, November 2026.

Age and content

Who is Code right for?

Best suited to curious teens and adults willing to work through technical ideas step by step; no prior expertise is needed. It contains no sensitive content.

BookWard’s tasteThis book1 to 10 scale
Reading effortLeaning
EasyDemanding

The later layers of circuitry reward slow, focused reading, so it asks more effort than BookWard's typical comfort zone.

ContentCentered
GentleDark

Nothing in it is dark; it is an upbeat exploration of invention.

EmotionCentered
RestrainedIntense

It engages curiosity and wonder more than strong emotion.

Violence on the pageCentered
LittleA lot

There is no violence in this book.

Book Companion

Code: ideas, characters, themes

Complex machines are built from simple ideas stacked patiently on one another, and you can understand them all the way down.

  • Signals and codes. The book begins with simple ways of encoding messages, like flashlight signals, Morse code and Braille, to show how information can be represented.
  • Everyday objects as teachers. Familiar things such as seesaws and black cats are used to make abstract ideas concrete and easy to hold.
  • Building up layer by layer. Each new concept rests on the previous one, so the path from basic switches to a working computer feels earned.
  • Communication drives invention. The urge to send messages to one another is presented as the force behind two centuries of technological change.
  • Demystifying the machine. The goal is to remove the sense of magic around computers and show the logic hidden inside smart machines.

Themes

Communication

How people invent ways of sending information to one another, and how that shapes technology.

Abstraction

Building complex systems from simple parts and ideas layered together.

Demystification

Making something that seems magical understandable by explaining its inner workings.

Human ingenuity

The inventive drive that links early signaling to modern digital machines.

Discussion questions

  1. Which layer of the build-up was hardest for you to follow, and what finally made it click?
  2. How does starting with simple codes change the way you think about modern computers?
  3. Why might the author choose everyday objects over technical diagrams to introduce ideas?
  4. How has your sense of what happens inside a smart device changed after reading?
  5. What other complicated systems could be explained by building up from first principles?
Made for you

Personalize your Book Companion

This is the general edition. In BookWard, the Companion is written for you: your reading profile, your notes, and spoiler-safe to the page you are on.

Personalize your Companion, free

Where to get it

Buy, listen or borrow Code

Each link opens a search for this book on that store, in a new tab.

Find your own best books

Add what you have read, rate it, and BookWard will recommend what to read next.

Free to start. No credit card needed.