
Enough rope to shoot yourself in the foot
by Allen I. Holub · first published 1995
7mentions
3recommended by
6HN commenters
2012–2022first – last mentioned
50% recommend33% neutral17% critical
Affiliate links. As an Amazon Associate I earn from qualifying purchases.







There's a great book title that plays off this idea: "Enough Rope to Shoot Yourself in the Foot: Rules for C and C++ Programming" [0] It's also perhaps the best mixed metaphor I've ever encountered. [0]: https://www.amazon.com/Enough-Rope-Shoot-Yourself-Foot/dp/00...
on “Algorithms” ↗…Louden. 1997. Compiler Construction: Principles and Practice. Chapter 7. For C gotchas and general good practices: http://www.cs.tufts.edu/comp/40/reference/CTrapsAndPitfalls.... Allen Holub. 1995. Enough Rope to Shoot Yourself in the Foot. P.J. Plauger. 1991. The Standard C Library. (It is partly a reference, but also has detailed discussion of the technical considerations faced in writing reliable code.)
on “Ask HN: Books to learn advanced C programming” ↗"Enough rope to shoot yourself in the foot - rules for C and C++ programmers" by Alan C Holub. And "Compiler design in C", also by him
on “Ask HN: What is the best programming book you've read?” ↗Enough rope to shoot yourself in the foot - rules for C/C++ programmers - Allen I. Holub https://www.amazon.com/gp/product/0070296898/ref=dbs_a_def_r... - explained C++ to me in a way no others did SQL for smarties - You like getting shit out…
on “Ask HN: Which book(s) would you credit for the love for your field of work?” ↗…Caner, Cem, et al. Testing Computer Software, Second Edition. New York: Wiley Computer Publishing, 1999. Hunt, Andrew, et al. The Pragmatic Programmer. Reading, MA: Addison-Wesley, 2000. Holub, Allen. Enough Rope to Shoot Yourself in the Foot: Rules for C and C++ Programming. New York: McGraw-Hill, 1995.
on “Ask HN: What are the books you wish your colleagues had read?” ↗…everything as good as it can get. Do your future self (and other people) a favour - they're the ones who will have to read and understand your programs. A couple of years later I came across Allen Holub's Enough Rope to Shoot Yourself in the Foot: Rules for C and C++ Programming (1995). I didn't learn anything from it, but it contains almost all of what's in those 2 books, and was written years earlier, (so could have been read earlier), and I…
on “Programming Books You Wish You Read Earlier” ↗See: "rocket surgeon", or "enough rope to shoot yourself in the foot". Also: jashkenas wrote Backbone.
on “Backbone.js views done right” ↗