- Shopping Bag ( 0 items )
Posted November 18, 2004
The subtitle about '101 rules...' evokes comparison with O'Reilly's series of '100 Hacks on...'. But coincidential or not, the authors do provide many useful rules if you are a serious C++ programmer who is looking to make your code more robust and easier to debug. However, there is some padding done by the authors, to reach this fabled 101 total. They added some elementary rules that are often well-described in many C++ or C texts. Like rule 17 - 'Avoid magic numbers'. In other words, define constants to hold these values. Or rule 18, about declaring variables as locally as possible. You do know these already, I hope. Later in the book, they actually get to more worthwhile discussions. Like rule 52, about copying and destroying consistently. Or rule 72, about using exceptions instead of error codes to report errors. Overall, most of the book can be useful to you. Though I think the authors would have done well to junk some trite rules.
0 out of 1 people found this review helpful.Was this review helpful? Yes NoThank you for your feedback. Report this reviewThank you, this review has been flagged.