Book: The Elements of C++ Style
Publisher: Cambridge University Press
As commercial developers of software components, we alwaysstrive to have good, consistent style throughout ourcode. Since source code is usually included in our final products,our users often study our code to learn not just how thecomponents work, but also how to write good software.This fact ultimately led to the creation of a style guide forJavaTM programming, entitled The Elements of Java Style.1 Thepositive reception to that book, coupled with recurring questionsabout C++ style issues, resulted in this edition for C++.If you’ve read The Elements of Java Style (or even if you haven’t),much of the advice in this book will probably be familiar. Thisis deliberate, as many of the programming principles describedare timeless and valid across programming languages. However,the content has been reworked and expanded here toaddress the unique characteristics of the C++ language.