
Exceptional C++ Style
40 New Engineering Puzzles, Programming Problems, and Solutions
Series: C++ In-Depth Series
Forty programming scenarios examine the trade-offs behind C++ design, implementation, and maintainability.
- Themes
- C++ programming techniques, Software design trade-offs, Robustness and performance
C++ Design Trade-offs
Come here for
- Practical C++ scenarios that ask not just what works, but why.
- Questions on STL design, exception safety, and template specialization.
Expect
- Problems and solutions focused on practical C++ techniques.
- Questions about templates, standard containers, const, and inline performance.
Where it sits
How strongly BookFrontier reads the book as belonging to each subject.
Nearest books
Matched by our semantic model. Ordered by what its readers also loved. Most of these share its genres: C++ Programming and Object-Oriented Programming.
C++ Concurrency in ActionAnthony Williams53% subject match
Design PatternsErich Gamma, Richard Helm61% subject match
Effective Modern C++Scott Meyers71% subject matchAlso shares Programming Basics
The C++ Programming LanguageBjarne Stroustrup60% subject matchAlso shares Programming Basics
Agile Software Development, Principles, Patterns, and PracticesRobert C. Martin68% subject match
Think Like a ProgrammerV. Anton Spraul66% subject matchAlso shares Programming Basics
97 Things Every Programmer Should KnowKevlin Henney65% subject matchAlso shares Programming Basics
Learn C++ by ExampleFrances Buontempo64% subject match
For younger readers: The CS Detective
Start with three books, and this one can be the first.
Members get a new edition every morning: a route out from their books to essays, research and talks, with the reason for each.
Sign upAbout this book
Software "style" is about finding the perfect balance between overhead and functionality... elegance and maintainability... flexibility and excess. In Exceptional C++ Style, legendary C++ guru Herb Sutter presents 40 new programming scenarios designed to analyze not only the what but the why and help you find just the right balance in your software.
Continue reading
Organized around practical problems and solutions, this book offers new insight into crucial C++ details and interrelationships, and new strategies for today's key C++ programming techniques--including generic programming, STL, exception safety, and more. You'll find answers to questions like:
- What can you learn about library design from the STL itself?
- How do you avoid making templated code needlessly non-generic?
- Why shouldn't you specialize function templates? What should you do instead?
- How does exception safety go beyond try and catch statements?
- Should you use exception specifications, or not?
- When and how should you "leak" the private parts of a class?
- How do you make classes safer for versioning?
- What's the real memory cost of using standard containers?
- How can using const really optimize your code?
- How does writing inline affect performance?
- When does code that looks wrong actually compile and run perfectly, and why should you care?
- What's wrong with the design of std::string?
Exceptional C++ Style will help you design, architect, and code with style--and achieve greater robustness and performance in all your C++ software.
Publisher details
Publisher categories
- C++ Programming
- Authors
- Herb Sutter
- Publisher
- Pearson Education
- Published
- August 2, 2004
- Format
- Print & ebook
- Reading lane
- C++ Programming