Compare prices for herb sutter
 |
Addison Wesley Exceptional C++ Style: 40 New Engineering Puzzles, Programming Problems and Solutions (C++ in Depth S.)
Pages: 325, Paperback, Addison Wesley
 |
|
Availability: Usually dispatched within 24 hours
Shipping: refer to store website
|
|
£20.45
at Amazon.co.uk
|
 |
Addison Wesley C++ Coding Standards : Rules, Guidelines, and Best Practices
Pages: 224, Paperback, Addison Wesley
 |
|
Availability: Usually dispatched within 24 hours
Shipping: refer to store website
|
|
£16.49
at Amazon.co.uk
|
 |
Addison Wesley Exceptional C++
Aimed at the experienced C++ programmer, Herb Sutter's <I>ExceptionalC++</I& gt; tests any reader's knowledge of advanced C++ language features and idioms with several dozen programming puzzles and explanations. This is a book that can definitely help bring your C++ class design skills to the next level.<p>Based on the author's <I>Guru of the Week</I> Internet column, this book poses a series of challenging questions on the inner workings of C++, centring around generic programming with the Standard Template Library(STL), exception handling, memory management and class design. Even if you think you know C++ well, most of these problems will teach you something more about the language and how to write more robust classes that are exception safe. Don't think this is just language lawyering though. The author's explanations stress sound programming principles (favouring simplicity) and <I>idioms</I> (such as the <I>Pimpl idiom</I> for class design that promotes faster compile times and better maintainability, or using smart <I>auto_ptr</I>'s with STL.) Judging from the range and depth of these examples, Sutter's command of the inner workings of C++ is impressive and he does an excellent job at conveying this expertise without jargon or a lot of theory.<p> After reading this book, C++ designers will learn several best practices at how to write robust, efficient classes that are exception safe (meaning they don't throw any handled exceptions and don't leak resources). Chances are you'll gain a better understanding of memory management techniques and working with STL too. For the experienced developer seeking leading-edge knowledge of some of the best ways to use C++, <I>ExceptionalC++</I& gt; is both a challenging and truly worthwhile source of information. <I>--Richard Dragan, Amazon.com</I><p>& lt;B>Topics covered:</B> Advanced C++ programming tutorial, generic programming, tips for string classes, containers and STL, temporary objects, exception-safe code tutorial, virtual functions, class inheritance, the <I>Pimpl idiom</I>, namespaces, memory management, C++ memory areas, overloading <I>new</I> and <I>delete</I>, using smart pointer with <I>auto_ptr</I>, using <I>const</I>, casts and hints for better performance and code maintainability.
 |
|
Availability: Usually dispatched within 24 hours
Shipping: refer to store website
|
|
£17.81
at Amazon.co.uk
|
 |
Addison Wesley More Exceptional C++: 40 More Engineering Puzzles, Programming Problems, and Solutions (AW C++ in Depth)
Aimed at advanced C++ developers who want to hone their programming chops even further, Herb Sutter's <I>More Exceptional C++</I> borrows the format of his earlier title, <I>Exceptional C++</I>, and delivers some of today's best available thinking on the language in a handy and effective format. A compilation of the author's own experience and research on the thornier aspects of C++, this book will serve as a worthy resource for making sure you get the most out of this powerful language.<p> The concise text covers a range of challenging topics in C++ without attempting to be comprehensive. Each item is presented as a question for you to try and solve by yourself before the author presents his solution, plus additional detail as needed. For most topics, Sutter ends by giving his advice on the best practices (and gotcha's to avoid).<p> Early sections concentrate on using Standard Template Library (STL) container classes, such as removing items effectively, and the subtle differences between container types. Standout sections on designing custom templates (using specialisation techniques) and designing exception-safe classes will help you do more with your own classes. One entertaining problem here shows a number-guessing game (Mastermind) built as efficiently as possible using STL code (including expert-level use of generic functions to do much of the work).<p> Several problems on copy-on-write (COW) semantics for more efficient classes point out the issues surrounding code optimisation. (The author argues against a simplistic approach to optimising code, including an over-reliance on <I>inlining</I> functions. Several times, he points out the difficulty of getting COW code to work in multi-threaded projects.)<p> There has been a debate in the C++ community for years on whether it's possible to design truly exception-safe classes. Sutter points out the difficulty with a precise analysis of the issues surrounding exceptions and C++ constructors. Material on the finer points of inheriting classes (including when to avoid and when to use multiple inheritance in C++) will extend your class design options. A good section here is the author's explication of how to simulate COM/Java style interfaces in C++, which isn't immediately obvious, even to experienced C++ developers.<p> Later sections delve into code-maintenance issues, including advice for using macros, <I>typedefs</I> and namespaces. (Advice on migrating existing C++ code into namespaces will help you combine legacy code with other libraries.) A final appendix shows off some benchmarks for optimising strings using a variety of techniques.<p> Intelligent, provocative and demanding, <I>More Exceptional C++</I> shows off why C++ continues to be a rich, complex and challenging language. Armed with titles such as this one, experienced C++ programmers can write better code and avoid pitfalls buried in the outer edges of their favourite language. <I>--Richard Dragan</I>
 |
|
Availability: Usually dispatched within 24 hours
Shipping: refer to store website
|
|
£17.81
at Amazon.co.uk
|
|
|
|
|
|