60 of 68 people found the following review helpful
A Thirty Five Dollar Index of Classic C++ Books,
This review is from: C++ Coding Standards: 101 Rules, Guidelines, and Best Practices (Paperback)
Sutter and Alexandrescu are certified C++ gurus, and have each written classic works on C++ (Exceptional C++ series, and Modern C++ Design, respectively). So why does this book fall short? Because it doesn't go into the level of detail necessary to make every recommendation meaningful, and instead relies on citations of previous works. And those citations very often fall into a handful of books that every serious C++ programmer should own and understand anyway: Effective C++ series by Scott Meyers, The C++ Programming Language by Bjarne Strousup, and Exceptional C++ by Sutter.
One might argue that 5 books or more is too many, and that this book adds value by providing a one stop ultimate resource for best practices. The problem is that if proper justification isn't provided for each best practice, it's difficult for readers to internalize them. Even if these guys are experts, and a, "trust me" will suffice to believe what they say, it doesn't mean that everyone will understand what they say without diving into the other books that they so often reference. And that brings us back to my main point: you may as well just buy and read the original books in the first place.
Many of the items are complete repeats of items from Scott Meyers books with much less explanation. For example, number 81 of best practices, 'Prefer range operations to single-element operations', is the same as item 5 in 'Effective STL'. However, in Coding Standards, a page is devoted to the explanation; not sufficient if you don't already fully understand why this is a good practice. Meyers, on the other hand, spends 8 pages fully convincing you it is a good idea with several examples. After reading Meyers, I'm going to understand and remember the practice of preferring range member functions.
If you already own all of Scott Meyer's books, along with some of Sutter's and want a concise summary of coding practices, this book may be worth while. Otherwise, start with the original works.
Sort: Oldest first | Newest first
Showing 1-1 of 1 posts in this discussion
Initial post: Aug 1, 2011 11:53:28 AM PDT
I agree with what you have to say but some times it becomes a hard task to summarize what you have read in thousands of pages. This book does it very well. I have read most of referenced books and still had doubts about what to use and what not to use, not regarding how to do that. This book answered those doubts, I look at it as my old && wise C++ grandpa to give me some words of wisdom when in midst of clouds (too much information).
‹ Previous 1 Next ›