C++ Coding Standards: 101 Rules, Guidelines, and Best Pra... and over 2 million other books are available for Amazon Kindle . Learn more
  • RRP: £33.99
  • You Save: £11.60 (34%)
FREE Delivery in the UK.
Only 3 left in stock (more on the way).
Dispatched from and sold by Amazon.
Gift-wrap available.
Quantity:1
C++ Coding Standards : Ru... has been added to your Basket
+ £2.80 UK delivery
Used: Like New | Details
Condition: Used: Like New
Comment: 100% Money Back Guarantee. Brand New, Perfect Condition, FAST SHIPPING TO UK 4-14 business days, all other destinations please allow 8-18 business days for delivery. Over 1,000,000 customers served.
Trade in your item
Get a £5.62
Gift Card.
Have one to sell?
Flip to back Flip to front
Listen Playing... Paused   You're listening to a sample of the Audible audio edition.
Learn more
See all 3 images

C++ Coding Standards : Rules, Guidelines, and Best Practices Paperback – 25 Oct 2004

6 customer reviews

See all 3 formats and editions Hide other formats and editions
Amazon Price New from Used from
Kindle Edition
"Please retry"
Paperback
"Please retry"
£22.39
£18.73 £18.89
£22.39 FREE Delivery in the UK. Only 3 left in stock (more on the way). Dispatched from and sold by Amazon. Gift-wrap available.

Frequently Bought Together

C++ Coding Standards : Rules, Guidelines, and Best Practices + Exceptional C++ + Effective C++: 55 Specific Ways to Improve Your Programs and Designs (Professional Computing)
Price For All Three: £74.37

Buy the selected items together


Trade In this Item for up to £5.62
Trade in C++ Coding Standards : Rules, Guidelines, and Best Practices for an Amazon Gift Card of up to £5.62, which you can then spend on millions of items across the site. Trade-in values may vary (terms apply). Learn more

Product details

  • Paperback: 240 pages
  • Publisher: Addison Wesley; 1 edition (25 Oct. 2004)
  • Language: English
  • ISBN-10: 9780321113580
  • ISBN-13: 978-0321113580
  • ASIN: 0321113586
  • Product Dimensions: 18.5 x 1.8 x 23.1 cm
  • Average Customer Review: 4.5 out of 5 stars  See all reviews (6 customer reviews)
  • Amazon Bestsellers Rank: 128,367 in Books (See Top 100 in Books)
  • See Complete Table of Contents

More About the Authors

Discover books, learn about writers, and more.

Product Description

From the Back Cover

Consistent, high-quality coding standards improve software quality, reduce time-to-market, promote teamwork, eliminate time wasted on inconsequential matters, and simplify maintenance. Now, two of the world's most respected C++ experts distill the rich collective experience of the global C++ community into a set of coding standards that every developer and development team can understand and use as a basis for their own coding standards.

The authors cover virtually every facet of C++ programming: design and coding style, functions, operators, class design, inheritance, construction/destruction, copying, assignment, namespaces, modules, templates, genericity, exceptions, STL containers and algorithms, and more. Each standard is described concisely, with practical examples. From type definition to error handling, this book presents C++ best practices, including some that have only recently been identified and standardized-techniques you may not know even if you've used C++ for years. Along the way, you'll find answers to questions like

  • What's worth standardizing--and what isn't?
  • What are the best ways to code for scalability?
  • What are the elements of a rational error handling policy?
  • How (and why) do you avoid unnecessary initialization, cyclic, and definitional dependencies?
  • When (and how) should you use static and dynamic polymorphism together?
  • How do you practice "safe" overriding?
  • When should you provide a no-fail swap?
  • Why and how should you prevent exceptions from propagating across module boundaries?
  • Why shouldn't you write namespace declarations or directives in a header file?
  • Why should you use STL vector and string instead of arrays?
  • How do you choose the right STL search or sort algorithm?
  • What rules should you follow to ensure type-safe code?

Whether you're working alone or with others, C++ Coding Standards will help you write cleaner code--and write it faster, with fewer hassles and less frustration.



About the Author

Herb Sutter is the author of three highly acclaimed books, Exceptional C++ Style, Exceptional C++, and More Exceptional C++ (Addison-Wesley). He chairs the ISO C++ standards committee, and is contributing editor and columnist for C/C++ Users Journal. As a software architect for Microsoft, Sutter leads the design of C++ language extensions for .NET programming.

Andrei Alexandrescu is the author of the award-winning book Modern C++ Design (Addison-Wesley, 2001) and is a columnist for C/C++ Users Journal.




Inside This Book

(Learn More)
Browse Sample Pages
Front Cover | Copyright | Table of Contents | Excerpt | Index
Search inside this book:

Customer Reviews

4.5 out of 5 stars
Share your thoughts with other customers

Most Helpful Customer Reviews

15 of 15 people found the following review helpful By Thing with a hook on 2 Mar. 2007
Format: Paperback
It's Sutter! It's Alexandrescu! It's both of them together! And the dark lords of C++ have combined forces to produce... er, some coding standards.

Yes, another book of best practices. Some readers may therefore be a tad disappointed that the combined fruits of the authors' labours will not be shattering their puny human minds with the sort of C++ that cause lesser compilers to accidentally create black holes that destroy the entire universe.

But let's evaluate the book on what it sets out to do, which is to give 100 bite-sized pieces of advice on C++ coding. And it's very good. You might prefer to see it as an annotated guide to the state of the art in intermediate C++ programming, in particular to Sutter's Exceptional C++ trilogy, which has become sufficiently sprawling that a reorganisation of the material, plus pointers to which book said what, has become quite welcome.

Yes, it's true that C++ is hardly short of books telling you when to pass by value. But take a look at the bibliography - it's a synthesis of all those other tomes (the Effective series, Sutter's own Exceptional series of course, and older books like C++ Strategy and Tactics) plus magazine articles, into a neat and compact whole.

Few of the items are longer than one or two pages. This is good because the advice stays simple, clear and direct. On the other hand, some of the items feel a bit squeezed into the available space, with discussion deferred to the books in the references, which is a little frustrating on occasion. After all, a lot of the best parts of the Exceptional C++ and Effective C++ series and their ilk is not so much what to do (or not to do), but the why behind it. There's plenty of the former, but not so much of the latter.
Read more ›
Comment Was this review helpful to you? Yes No Sending feedback...
Thank you for your feedback. If this review is inappropriate, please let us know.
Sorry, we failed to record your vote. Please try again
By J. Bond VINE VOICE on 13 April 2012
Format: Paperback Verified Purchase
I wanted to love this book, I wanted it to be a fantastic insight and to spur me to improve my own coding standards and drive document production to improve team productivity my end... I got it... I read it... And... Though some, few, items did come straight out of the text and input into my work many more of the items seemed very preachy, "thou shalt do it this way", when really there could be good arguments to the contrary.

The biggest problem with these preaching items was the general lack of code examples with them, and the generic descriptions given of a potential situation deemed requiring whatever the "standard" they are specifying, without any example code these items really came across as quite obtuse and without as much merit as those with code examples.

This is not to detract from those good items inside, and there are some, they usually have clear code examples are explained concisely without seeming to preach the author(s) ideals upon you. Many of these I identified with easily and will note them down for inclusion in my own work - this does make the book worth reading.

However, with a choice between this text or perhaps one from Scott Meyers, I would take Mr Meyer's books over this, even his older books eclipse this text with their given examples and concise presentation.

Another surprise with this book was its lightness, it is actually very thin, I had expected a rather more weighty tome. I don't know why I had this impression, perhaps because other AW products are weighty, but when this appeared and was a quite thin, smaller than A4 profile, floppy back (its not even soft back, its a floppy book) I was surprised.

I would have liked to perhaps give the book 3.5 stars, its more than just "ok" as it has input into my working practices, but its not worth the full "good" 4 stars rating due to the quality and the incessant nagging of some of the items.
Comment Was this review helpful to you? Yes No Sending feedback...
Thank you for your feedback. If this review is inappropriate, please let us know.
Sorry, we failed to record your vote. Please try again
Format: Paperback Verified Purchase
This is a great book, it's not a reference book though.

Many C++ books are crap, they don't cross what I call "the Hello World gulf" this is the huge gap between examples and whatnot and actual programs and useful stuff.

This book helps the crossing. You should be okay on the Hello World stuff and just starting to write programs that do stuff (by this I mean have an IDE and GUI programs that respond to input, you know actual stuff - Eclipse CDT and WxWidgets FTW!) you'll pick this book up and find some of them are things you already do, or have already picked up without being told they are worthy of report.

The ones you don't know will be explained so well you can see why you'd want to do it that way.

There are other reviews praising this book already and I don't want to re-iterate those again (consider me in chorus with them though) this book is one of the best C++ books out there because it's actually useful in crossing that gulf.

Alec
Comment Was this review helpful to you? Yes No Sending feedback...
Thank you for your feedback. If this review is inappropriate, please let us know.
Sorry, we failed to record your vote. Please try again


Feedback