

C++ programming style
by Tom Cargill
Ratist Community Rating
No reviews yet
Your Score Estimate
Rate a few books to unlock your estimate
Community breakdown
Bars show the community-aggregated score per category. Rate this book to contribute.
This book examines the in-the-large language features of C++, demonstrating that unwarranted use of language features may lead to cluttered programs that are harder to comprehend and sometimes less efficient than straightforward alternatives. Cargill rewrites several programs using techniques ranging from improving consistency to removing redundant inheritance. The presentation simulates a code review, in which readers may independently evaluate and criticize alternative approaches to programming problems, and then compare their analyses with those of the author. Design and coding style rules are distilled from the examples. Understanding and following these rules will help programmers design and write better C++ programs. Building on the programming rules introduced in the first seven chapters, Cargill presents a case study in which a single program undergoes repeated transformations that improve its overall quality while reducing its size. The book concludes with a chapter on multiple inheritance. (back cover copy)
