DeepRead
Cover of The Art of Readable Code

The Art of Readable Code

Dustin Boswell · 2011

Programming and computer science › Software design and clean code

#2,946 most recommended

About the book

A practical guide to writing source code that other people, including the author later on, can read and understand quickly. It covers the basics of coding at the level of individual lines and small blocks: naming, comments, and formatting, along with simplifying loops, logic, and variables. It also addresses organizing code at the function level and writing test code that stays thorough and concise. Code should be written to minimize the time it takes someone else to understand it, and that standard applies even when the reader is the original author. The book claims that readability comes from concrete, repeatable techniques rather than from taste, and it supports this with many before-and-after examples of real code. Its central claims are that names and comments should convey intent, that layout should show structure, that complicated logic and variables can usually be simplified, and that each function should do one task.

Written by Claude from what it knows of this book.

What Hacker News says 79% recommend · 7% critical

02.5520112015202020262011 peak · 3
This bookAverage book in Software design and clean code

In the commenters’ own words

What Open Library readers say 5.00 from 3 ratings

  1. 53
  2. 40
  3. 30
  4. 20
  5. 10
  • 9 want to read
  • 0 reading
  • 3 have read

Only 3 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
2011
ISBN
9780596802295
Editions known
6 at Open Library
Open Library
OL16483172W

Coding theoryComputer programming

Explore in the mosaic

Read next: its neighbours on the mosaic

  • Algorithms unlocked
    Thomas H. Cormen · 2013 · recommended by 7 people · similar by subject and what people say about it
  • How Charts Lie
    Alberto Cairo · 2019 · recommended by 5 people · similar by subject and what people say about it
  • Code Simplicity
    Max Kanat-Alexander · 2012 · recommended by 3 people · similar by subject and what people say about it
  • Code Complete
    Steve McConnell · 1993 · recommended by 393 people · 3 people recommended both
  • A Philosophy of Software Design
    John K. Ousterhout · 2018 · recommended by 163 people · 2 people recommended both
  • The psychology of computer programming
    Gerald M. Weinberg · 1971 · recommended by 44 people · similar by subject and what people say about it
  • JavaScript
    Douglas Crockford · 2008 · recommended by 72 people · similar by subject and what people say about it
  • The Practice of Programming
    Brian W. Kernighan · 1999 · recommended by 90 people · similar by subject and what people say about it
  • The art of unit testing
    Roy Osherove · 2009 · recommended by 12 people · similar by subject and what people say about it
  • Large-scale C++ software design
    John Lakos · 1996 · recommended by 24 people · similar by subject and what people say about it
  • Test-driven development
    Kent Beck · 2002 · recommended by 30 people · similar by subject and what people say about it
  • Clean Code
    Robert C. Martin · 2008 · recommended by 298 people · similar by subject and what people say about it
  • Beautiful Code
    Andy Oram · 2007 · recommended by 48 people · similar by subject and what people say about it
  • The Pragmatic Programmer
    Andy Hunt · 1999 · recommended by 353 people · similar by subject and what people say about it
  • The C Programming Language
    Brian W. Kernighan · 1978 · recommended by 246 people · similar by subject and what people say about it
  • Structure and Interpretation of Computer Programs
    Harold Abelson · 1984 · recommended by 347 people · similar by subject and what people say about it
  • The Little Schemer
    Daniel P. Friedman · 1995 · recommended by 288 people · similar by subject and what people say about it
  • The art of computer programming
    Donald Knuth · 1968 · recommended by 336 people · similar by subject and what people say about it
  • How to Design Programs
    Matthias Felleisen · 2001 · recommended by 277 people · similar by subject and what people say about it
  • Introduction to Algorithms
    Thomas H. Cormen · 1990 · recommended by 274 people · similar by subject and what people say about it
  • The Elements of Computing Systems
    Noam Nisan · 2005 · recommended by 204 people · similar by subject and what people say about it
  • Compilers, principles, techniques, and tools
    Alfred V. Aho · 1986 · recommended by 195 people · similar by subject and what people say about it
  • Effective Java
    Joshua Bloch · 2001 · recommended by 172 people · similar by subject and what people say about it
  • Programming Pearls
    Jon Bentley · 1999 · recommended by 158 people · similar by subject and what people say about it