C++ Coding Standards - 101 Rules, Guidelines and Best Practices is the latest book from the two C++ heavyweights Herb Sutter and Andrei Alexandrescu. The content of the book is organized in the good tradition of Scott Meyer's "Effective C++" and Herb Sutter's "Exceptional C++" series which I'm sure most C++ programmers are familiar with.
As the title of the book implies it contains 101 guidelines which are themselves organized into 12 bigger chapters. Like in all other books of this kind the content is more or less organized from simple to difficult starting with very general advice that can be just as useful in non-C++ projects in chapter 1 and going right down into the messy details of standard C++ in later chapters.
During the 12 chapters the book discusses the following issues (I give the chapter names here): Organizational and Policy Issues; Design Style; Coding Style; Functions and Operators; Class Design and Inheritance; Construction, Destruction and Copying; Namespaces and Modules; Templates and Genericity; Error Handling and Exceptions; STL Containers; STL Algorithms; Type Safety.
Continue reading "Book review - C++ Coding Standards"