
Enough rope to shoot yourself in the foot
Allen I. Holub · 1995
Programming and computer science › C and C++
#6,004 most recommended
Hacker News
7
mentions by 6 people · top 38% of 15,732 books
Open Library
—
No ratings yet
4 want to read
Wikipedia
—
No article yet
About the book
A practical guide to writing C and C++ programs, organised as numbered rules and guidelines, each with an explanation of the pitfall it addresses. It covers the language's common traps, from declarations, pointers, and memory handling to the preprocessor, style, and the mechanics of C++ classes. C and C++ give the programmer very few safeguards, so reliable code depends on disciplined habits and conventions rather than on the compiler catching mistakes. Holub's central claim is that many common bugs come from avoidable misuse of language features, and that clear, simple, consistently applied rules prevent them. He also argues that C++ features such as classes and inheritance should be used deliberately, since their misuse adds complexity that causes errors of its own.
Written by Claude from what it knows of this book.
What Hacker News says 50% recommend · 17% critical
In the commenters’ own words
Clean Code (2008) is at the top of my Books I wish I'd read 10 or 20 years earlier list, along with Refactoring (1999). They totally transformed the quality…
For good practices in writing high-reliability C, look at these: http://lars-lab.jpl.nasa.gov/JPL_Coding_Standard_C.pdf…
What Open Library readers say
No Open Library reader has rated it yet.
- 4 want to read
- 0 reading
- 0 have read
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
- 1995
- ISBN
- 9780070296893
- Editions known
- 2 at Open Library
- Open Library
- OL2952941W
C (Computer program language)C++ (Computer program language)
Read next: its neighbours on the mosaic
Compiler design in CAllen I. Holub · 1990 · recommended by 11 people · similar by subject and what people say about it
Light on prāṇāyāmaB. K. S. Iyengar · 1981 · recommended by 3 people · loosely similar by subject
Secure coding in C and C++Robert C. Seacord · 2005 · recommended by 7 people · loosely similar by subject
The Standard C LibraryP. J. Plauger · 1991 · recommended by 17 people · loosely similar by subject
The Pleasure of Finding Things OutRichard Phillips Feynman · 1999 · recommended by 10 people · loosely similar by subject
Writing interactive compilers and interpretersPeter John Brown · 1979 · recommended by 1 person · loosely similar by subject
A Little SmalltalkTimothy Budd · 1987 · recommended by 5 people · loosely similar by subject
Godel's TheoremTorkel Franzen · 2005 · recommended by 4 people · loosely similar by subject
C Traps and PitfallsAndrew Koenig · 1989 · recommended by 19 people · similar by subject and what people say about it
Expert C programming!Peter Van der Linden · 1994 · recommended by 88 people · similar by subject and what people say about it
Advanced C₊₊ programming styles and idiomsJames O. Coplien · 1992 · recommended by 4 people · similar by subject and what people say about it
Just enough software architectureGeorge Fairbanks · 2010 · recommended by 3 people · similar by subject and what people say about it
Writing solid codeSteve Maguire · 1993 · recommended by 18 people · similar by subject and what people say about it
Large-scale C++ software designJohn Lakos · 1996 · recommended by 24 people · similar by subject and what people say about it
The Practice of ProgrammingBrian W. Kernighan · 1999 · recommended by 90 people · similar by subject and what people say about it
The elements of programming styleBrian W. Kernighan · 1974 · recommended by 30 people · similar by subject and what people say about it
Programming PearlsJon Bentley · 1999 · recommended by 158 people · similar by subject and what people say about it
MeditationsMarcus Aurelius · 2016 · recommended by 284 people · 2 people recommended both
The Art of Readable CodeDustin Boswell · 2011 · recommended by 11 people · similar by subject and what people say about it
EnoughJohn C. Bogle · 2008 · recommended by 3 people · similar by subject and what people say about it
The C Programming LanguageBrian W. Kernighan · 1978 · recommended by 246 people · similar by subject and what people say about it
Thinking ForthLeo Brodie · 1984 · recommended by 77 people · similar by subject and what people say about it
Taligent's Guide to Designing ProgramsInc Taligent · 1994 · recommended by 1 person · similar by subject and what people say about it
Thinking in C++Bruce Eckel · 1995 · recommended by 11 people · similar by subject and what people say about it