Jump to ratings and reviews
Rate this book

Enough Rope to Shoot Yourself in the Foot: Rules for C and C++ Programming

Rate this book
Programmers, engineers, scientists, students, and others who work with C or If you want to write better code without wading through a maze of technical material, this concise yet pithy guide is precisely the tool you need. Enough Rope to Shoot Yourself in the Foot offers well over 100 rules of thumb you can use to create elegant, maintainable code. And since it comes from an acknowledged expert in the field, you can't go wrong.
Allen Holub provides an indispensable set of guidelines, tips, and techniques to help you use these extremely powerful languages to the fullest potential. But don't expect another dry programming guide. Holub manages to make a serious subject refreshingly readable by sprinkling the text with humor and insight.

186 pages, Paperback

First published September 1, 1995

2 people are currently reading
36 people want to read

About the author

Allen I. Holub

16 books10 followers

Ratings & Reviews

What do you think?
Rate this book

Friends & Following

Create a free account to discover what your friends think of this book!

Community Reviews

5 stars
12 (46%)
4 stars
6 (23%)
3 stars
7 (26%)
2 stars
1 (3%)
1 star
0 (0%)
Displaying 1 of 1 review
Profile Image for Ilya Druker.
1 review
April 10, 2021
The book was written in 1995 and based on examples of C/C++, but it did not put a limit to universality of the rules in time, space and programming languages including Java! Here is a number of answers the author gives to the questions you have never imagined to ask:

Why humanitarian would be better programmers than engineers
Why comments are important
Why uncommented code has no value
When inheritance is appropriate and when it is a highest evil?
Why proper and consistent code formatting is important
Why names should be carefully selected
Why goto is not an evil if used properly?
Why pointers is not a danger
How to design a class so that it looks a true class than a toy

And many others.
Displaying 1 of 1 review

Can't find what you're looking for?

Get help and learn more about the design.