DeepRead
Cover of A Philosophy of Software Design

A Philosophy of Software Design

John K. Ousterhout · 2018

Programming and computer science › Software design and clean code

#102 most recommended

About the book

This book covers software design at the level of modules, interfaces, and the code that connects them. Its scope is the general principles behind designing software that stays manageable as it grows, including how to structure classes and methods, how to write comments, and how design fits into day-to-day development. The central claim is that complexity is the root problem in software, and that it accumulates through many small decisions rather than one big mistake. The book argues for strategic programming, which invests in good design as part of every change, over tactical programming, which optimizes for getting the current feature working. It promotes deep modules with simple interfaces that hide substantial functionality, and it recommends pulling complexity downward into the module that owns it so callers are not burdened. It also argues that comments should record what the code cannot make obvious, such as abstractions and assumptions, and that design should be judged by how it reduces the cognitive load placed on developers.

Written by Claude from what it knows of this book.

What Hacker News says 70% recommend · 2% critical

050100201820202022202420262024 peak · 62
This bookAverage book in Software design and clean code

In the commenters’ own words

What Open Library readers say 4.13 from 16 ratings

  1. 55
  2. 48
  3. 33
  4. 20
  5. 10
  • 61 want to read
  • 1 reading
  • 21 have read

Only 16 ratings: treat the average as a hint.

Open Library’s page for the book

What critics say, via Wikipedia

No Wikipedia article about this book yet, so no critics to quote.

Reddit communities — coming later

The threads it came up in

Details

First published
2018
ISBN
9781732102200
Editions known
6 at Open Library
Open Library
OL21221785W

Explore in the mosaic

Read next: its neighbours on the mosaic