7 of 10 people found the following review helpful
An indispensable book for serious C++ programmers,
This review is from: C++ Coding Standards: 101 Rules, Guidelines, and Best Practices (Paperback)
Sharp tools must be handled with care. C++ is such a tool providing exemplary expressiveness without sacrificing one iota in the efficiency of the generated code. This remarkable feat comes however at a price. C++ programmers are given more than enough rope to hang themselves; several times in a single line of code.
Sutter's and Alexandresu's C++ Coding Standards comes here to rescue providing 101 rules and guidelines for writing safe, readable, maintainable, and efficient code. The advice is organized into 12 different parts covering organization issues, design and coding style, functions and operators, class design, modules, templates, error handling, the standard template library, and type safety.
Most rules are C++ specific and objectively true: no space is wasted on generic programming advice that can be found in a number of other books, or subjective style guidelines that differ from site to site. The authors really know what they are talking about, and therefore write in an authoritative manner that suits the book's purpose. The structure of each element - summary, discussion, examples, exceptions, references - allows readers to tailor their reading pace according to their needs. In a summary, this is an indispensable book for all serious C++ programmers.