DeepRead
Cover of The Practice of Programming

The Practice of Programming

Brian W. Kernighan · 1999

Programming and computer science › Programming classics and Java

#238 most recommended

About the book

The Practice of Programming covers the everyday craft of writing software: coding style, naming, data structures, interface design, testing, debugging, performance tuning, and portability. It is aimed at working programmers and draws its examples from C, C++, Java, awk, Perl, and shell, with the focus on individual programs and functions rather than large system architecture. The authors' central claim is that clarity and simplicity matter more than cleverness, and that code should be written first for the human who will read and maintain it. They argue that good choices of data structures and interfaces do more to shape a program than local tricks do, that testing and debugging should be done deliberately rather than by guesswork, and that performance should be measured before it is optimized. They also treat portability as a discipline of avoiding dependence on unspecified behavior.

Written by Claude from what it knows of this book.

What Hacker News says 70% recommend · 2% critical

01020200720102015202020262010 peak · 17
This bookAverage book in Programming classics and Java

In the commenters’ own words

What Open Library readers say 4.17 from 6 ratings

  1. 52
  2. 43
  3. 31
  4. 20
  5. 10
  • 30 want to read
  • 4 reading
  • 8 have read

Only 6 ratings: treat the average as a hint.

Open Library’s page for the book

What Wikipedia says

  • published 1999
  • articles in 2 languages
  • 609 views a month

Read the Wikipedia article

Reddit communities — coming later

The threads it came up in

Details

First published
1999
ISBN
9780201615869
Editions known
2 at Open Library
Open Library
OL15333872W

AlgoritmenComputer programmingDatastructurenInterfacesOrdinateursProgramacao de computadoresProgrammationProgrammation (Informatique)Programmation orientée objets (informatique)Programmeren (computers)Programmierung

Explore in the mosaic

Read next: its neighbours on the mosaic