
The Practice of Programming
Brian W. Kernighan · 1999
Programming and computer science › Programming classics and Java
#238 most recommended
Hacker News
184
mentions by 128 people · top 2% of 15,732 books
Open Library
4.17★★★★★★★★★★
6 ratings · 30 want to read
Wikipedia
609
article views a month
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
In the commenters’ own words
I read some of the more questionable parts of the second edition just now, and while I think there are a lot of things to criticize in it, I suspect that it's…
Here's a few fun ones: the Burrows–Wheeler transform, suffix arrays in general, Kanerva's fully distributed representation, reduced-affine-arithmetic numbers…
What Open Library readers say 4.17 from 6 ratings
- 52
- 43
- 31
- 20
- 10
- 30 want to read
- 4 reading
- 8 have read
Only 6 ratings: treat the average as a hint.
What Wikipedia says
- published 1999
- articles in 2 languages
- 609 views a month
Reddit communities — coming later
The threads it came up in
- Ask HN: Which book are you reading these days?
- Ask HN: What language-agnostic programming books should I read?
- Ask HN: What nonfiction books do you keep rereading?
- Ask HN: What book changed your life in 2013?
- Ask HN: What's the best computer science book you've read recently?
- Ask HN: I'm looking for a good book on the fundamentals of CS
- Ask HN: What are the books you wish your colleagues had read?
- Ask HN: What books had the greatest effect on how you structure your code?
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
Read next: its neighbours on the mosaic
The elements of programming styleBrian W. Kernighan · 1974 · recommended by 30 people · 7 people recommended both
The UNIX programming environmentBrian W. Kernighan · 1984 · recommended by 86 people · 16 people recommended both
The C Programming LanguageBrian W. Kernighan · 1978 · recommended by 246 people · 12 people recommended both
Code CompleteSteve McConnell · 1993 · recommended by 393 people · 19 people recommended both
Programming PearlsJon Bentley · 1999 · recommended by 158 people · 12 people recommended both
The AWK programming languageAlfred V. Aho · 1988 · recommended by 61 people · 6 people recommended both
Elements of the Theory of ComputationLewis, Harry R., and Christos H. Papadimitriou · 1981 · recommended by 5 people · 2 people recommended both
Algorithms + data structures=programsNiklaus Wirth · 1976 · recommended by 35 people · 6 people recommended both
The Pragmatic ProgrammerAndy Hunt · 1999 · recommended by 353 people · 10 people recommended both
C interfaces and implementationsDavid R. Hanson · 1996 · recommended by 46 people · 5 people recommended both
More programming pearlsJon Louis Bentley · 1988 · recommended by 12 people · 4 people recommended both
Software tools in PascalBrian W. Kernighan · 1976 · recommended by 9 people · 3 people recommended both
Advanced programming language designRaphael A. Finkel · 1996 · recommended by 2 people · 2 people recommended both
The algorithm design manualSteven S. Skiena · 1998 · recommended by 195 people · 8 people recommended both
The craft of PrologRichard A. O'Keefe · 1990 · recommended by 18 people · 4 people recommended both
Advanced programming in the Unix environmentW. Richard Stevens · 1992 · recommended by 100 people · 6 people recommended both
Operating System ConceptsAbraham Silberschatz · 1982 · recommended by 26 people · 3 people recommended both
Compilers, principles, techniques, and toolsAlfred V. Aho · 1986 · recommended by 195 people · 6 people recommended both
Clean CodeRobert C. Martin · 2008 · recommended by 298 people · 7 people recommended both
Linux Programming InterfaceMichael Kerrisk · 2010 · recommended by 98 people · 4 people recommended both
Compiler constructionNiklaus Wirth · 1996 · recommended by 30 people · 4 people recommended both
Expert C programming!Peter Van der Linden · 1994 · recommended by 88 people · 6 people recommended both
The Mythical Man-MonthFrederick P. Brooks · 1975 · recommended by 383 people · 6 people recommended both
The Little SchemerDaniel P. Friedman · 1995 · recommended by 288 people · 7 people recommended both