Reader-supported: when you buy through links on our site, we may earn an affiliate commission. Learn more

Cover of Structure and Interpretation of Computer Programs (SICP)
Buy on AmazonBuy on Bookshop.orgListen on Audible

We earn a commission if you buy through these links. Learn more

Structure and Interpretation of Computer Programs (SICP)

by Harold Abelson, Gerald Jay Sussman

Guide by the Books of the Day editors · Updated · How we write our guides

A demanding, rewarding course in how programs are built: abstraction, interpreters, and state, taught through Scheme in a way that changes how you think about code.

What It's About

Structure and Interpretation of Computer Programs, usually called SICP, is a textbook by Harold Abelson and Gerald Sussman that grew out of MIT's introductory computer science course. It teaches with Scheme, a dialect of Lisp, but it is not a language manual. Its real subject is how to control complexity: how to build programs out of parts that can be combined, replaced, and reasoned about.

The book moves through five chapters, starting with procedures and higher-order functions, then data and the layers of abstraction built on top of it, then state, objects, and time. Later chapters build a Scheme interpreter in Scheme, and a model of a simple computer. The text is dense with exercises, and many of them ask you to write working code that extends what the chapter just explained. Reading it is slow going. It rewards careful work with pencil and a Scheme environment far more than skimming.

The experience feels less like a tutorial and more like a long, precise argument about what programming is. You will not come away knowing a framework or a current toolchain. You will come away with a clearer sense of why certain ideas recur in every language, and why the programs you write can themselves be treated as data.

Read this if you…

  • want to understand how programs are built and why certain ideas recur across languages
  • are willing to work through hard exercises with a computer running Scheme beside you
  • are curious about how interpreters and compilers actually work underneath

Skip it if you…

  • want a practical guide to a modern language, framework, or production tooling
  • need a quick, friendly introduction and will be put off by a dense, abstract style

Key Ideas

  1. 1

    Procedures as the first abstraction

    The opening chapter treats functions as the basic tool for naming and reusing computation. It shows how procedures that take other procedures as arguments, or return them, let you express patterns once and apply them many times. This idea of functions as first-class values runs through the rest of the book and underlies much of modern functional programming.

  2. 2

    Data abstraction and generic operations

    The second part asks how to hide the details of a representation behind a clear interface. You build data structures, then combine them with operations that work across different types, using tagged data and dispatch. The lesson is that a program is easier to change when the parts only depend on agreed-upon behavior, not on how things happen to be stored.

  3. 3

    State, time, and the cost of assignment

    Once variables can be reassigned, the simple rules for reasoning about substitution stop working. The book walks through environments and mutable objects to explain why, then introduces streams as a way to model changing processes without mutation. It is one of the clearest treatments of why state makes programs hard to reason about.

  4. 4

    Interpreters and machines

    The later chapters write an evaluator for Scheme in Scheme, then describe a register machine that executes simple programs. The point is demystifying language implementation: an interpreter is just a program, and a computer is a machine that follows steps you can spell out. Readers often find this the most memorable part.

Limitations

The book is no longer a practical guide to current software work. Its examples use Scheme, which is rarely used in industry, and it does not cover modern concerns such as networking, databases, web development, or large-scale concurrency. Some readers find the exercises tedious or the pace punishing, and the abstract framing can feel remote if you come expecting immediate applications. The material on compilers and register machines is also more sketched than fully developed, so it is best treated as an introduction to the ideas.

Questions Readers Ask

Do I need to know Scheme before reading SICP?
No, but it helps. The book teaches Scheme as it goes, and the early chapters are gentle enough for a determined beginner. Spending a few hours with a basic Scheme tutorial or the MIT Scheme environment before starting makes the exercises far less frustrating.
Is SICP still relevant for working programmers?
Yes, for its ideas rather than its specifics. Abstraction, higher-order functions, and the reasoning about state it teaches apply in any language. It is less useful as a reference for current libraries or tools, so pair it with more contemporary material if you need day-to-day skills.
Published
1985
ISBN
9780262510875
Difficulty
advanced
Category
Tech

Book details and cover from Google Books.

Ready to read Structure and Interpretation of Computer Programs (SICP)?

Get your copy on Amazon, or listen to it on Audible. We earn a commission if you buy through these links.

Explore More