DeepRead
Cover of Enough rope to shoot yourself in the foot

Enough rope to shoot yourself in the foot

Allen I. Holub · 1995

Programming and computer science › C and C++

#6,004 most recommended

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

01220122015202020222012 peak · 1
This bookAverage book in C and C++

In the commenters’ own words

What Open Library readers say

No Open Library reader has rated it yet.

  • 4 want to read
  • 0 reading
  • 0 have read

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
1995
ISBN
9780070296893
Editions known
2 at Open Library
Open Library
OL2952941W

C (Computer program language)C++ (Computer program language)

Explore in the mosaic

Read next: its neighbours on the mosaic