Exceptional C++ Style: 40 New Engineering Puzzles, Programming Problems, and Solutions

 
9780201760422: Exceptional C++ Style: 40 New Engineering Puzzles, Programming Problems, and Solutions

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.

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.



"synopsis" may belong to another edition of this title.

Review:

Herb Sutter may well know the C++ programming language better than anyone else. He's worked with the language for years; he sits on its international standards committee; he works on the Microsoft Visual C++ team--his list of qualifications is astounding. That is, however, only part of the reason you should pay attention to Exceptional C++ Style. A more important reason is that he understands how to teach software developers: To wit, he issues challenges and dares the programmers to figure them out. Sutter grasps the importance of not lecturing smart people, and knows that guided exploration goes a very long way.

To give an example of Sutter's challenges (40 of them, graded by difficulty, appear in this dense book) would take more space than is available here. Know, however, that while some of them deal with obscure parts of C++, most do not, and the majority of the challenges deal with aspects of the language you use all the time. Sutter's approach doesn't consist exclusively of challenges and solutions, either--the author takes time to distill the exercises into design recommendations, making it easy for programmers to remind themselves of what they've learned. --David Wall

Topics covered: How to take a journeyman's skill with C++ and turn it into something more masterly, by exploring the behavior of C++ and its various parts in detail. Coverage deals with inheritance and other aspects of object orientation, exception handling, memory management, and templating.

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.



"About this title" may belong to another edition of this title.

Top Search Results from the AbeBooks Marketplace

1.

Sutter, Herb
Published by Prentice Hall
ISBN 10: 0201760428 ISBN 13: 9780201760422
New Quantity Available: > 20
Seller:
INDOO
(Avenel, NJ, U.S.A.)
Rating
[?]

Book Description Prentice Hall. Book Condition: New. Brand New. Bookseller Inventory # 0201760428

More Information About This Seller | Ask Bookseller a Question

Buy New
US$ 38.49
Convert Currency

Add to Basket

Shipping: US$ 3.50
Within U.S.A.
Destination, Rates & Speeds

2.

Herb Sutter
Published by Pearson Education (US), United States (2004)
ISBN 10: 0201760428 ISBN 13: 9780201760422
New Paperback Quantity Available: 1
Seller:
The Book Depository US
(London, United Kingdom)
Rating
[?]

Book Description Pearson Education (US), United States, 2004. Paperback. Book Condition: New. Language: English . Brand New 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. 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. Bookseller Inventory # AAC9780201760422

More Information About This Seller | Ask Bookseller a Question

Buy New
US$ 43.28
Convert Currency

Add to Basket

Shipping: FREE
From United Kingdom to U.S.A.
Destination, Rates & Speeds

3.

Sutter, Herb
ISBN 10: 0201760428 ISBN 13: 9780201760422
New Quantity Available: 1
Seller:
Pbshop
(Wood Dale, IL, U.S.A.)
Rating
[?]

Book Description 2004. PAP. Book Condition: New. New Book.Shipped from US within 10 to 14 business days. Established seller since 2000. Bookseller Inventory # IB-9780201760422

More Information About This Seller | Ask Bookseller a Question

Buy New
US$ 43.72
Convert Currency

Add to Basket

Shipping: US$ 3.99
Within U.S.A.
Destination, Rates & Speeds

4.

Herb Sutter
Published by Pearson Education (US), United States (2004)
ISBN 10: 0201760428 ISBN 13: 9780201760422
New Paperback Quantity Available: 1
Seller:
The Book Depository
(London, United Kingdom)
Rating
[?]

Book Description Pearson Education (US), United States, 2004. Paperback. Book Condition: New. Language: English . Brand New 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. 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. Bookseller Inventory # AAC9780201760422

More Information About This Seller | Ask Bookseller a Question

Buy New
US$ 50.03
Convert Currency

Add to Basket

Shipping: FREE
From United Kingdom to U.S.A.
Destination, Rates & Speeds

5.

Sutter, Herb
Published by Addison-Wesley Professional (2004)
ISBN 10: 0201760428 ISBN 13: 9780201760422
New Paperback Quantity Available: 1
Seller:
Murray Media
(North Miami Beach, FL, U.S.A.)
Rating
[?]

Book Description Addison-Wesley Professional, 2004. Paperback. Book Condition: New. Never used!. Bookseller Inventory # 0201760428

More Information About This Seller | Ask Bookseller a Question

Buy New
US$ 54.36
Convert Currency

Add to Basket

Shipping: US$ 1.99
Within U.S.A.
Destination, Rates & Speeds

6.

Sutter, Herb
Published by Pearson Education (2004)
ISBN 10: 0201760428 ISBN 13: 9780201760422
New Quantity Available: 1
Seller:
Books2Anywhere
(Fairford, GLOS, United Kingdom)
Rating
[?]

Book Description Pearson Education, 2004. PAP. Book Condition: New. New Book. Shipped from US within 10 to 14 business days. Established seller since 2000. Bookseller Inventory # IB-9780201760422

More Information About This Seller | Ask Bookseller a Question

Buy New
US$ 46.24
Convert Currency

Add to Basket

Shipping: US$ 11.84
From United Kingdom to U.S.A.
Destination, Rates & Speeds

7.

Herb Sutter
ISBN 10: 0201760428 ISBN 13: 9780201760422
New Paperback Quantity Available: 1
Seller:
Grand Eagle Retail
(Wilmington, DE, U.S.A.)
Rating
[?]

Book Description Paperback. Book Condition: New. 1. Paperback. 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.Shipping may be from multiple locations in the US or from the UK, depending on stock availability. 325 pages. 0.553. Bookseller Inventory # 9780201760422

More Information About This Seller | Ask Bookseller a Question

Buy New
US$ 64.40
Convert Currency

Add to Basket

Shipping: FREE
Within U.S.A.
Destination, Rates & Speeds

8.

Herb Sutter
Published by Addison-Wesley Professional (2004)
ISBN 10: 0201760428 ISBN 13: 9780201760422
New Paperback Quantity Available: 1
Seller:
Ergodebooks
(RICHMOND, TX, U.S.A.)
Rating
[?]

Book Description Addison-Wesley Professional, 2004. Paperback. Book Condition: New. 1. Bookseller Inventory # DADAX0201760428

More Information About This Seller | Ask Bookseller a Question

Buy New
US$ 60.71
Convert Currency

Add to Basket

Shipping: US$ 3.99
Within U.S.A.
Destination, Rates & Speeds

9.

Herb Sutter
Published by Addison-Wesley Professional (2004)
ISBN 10: 0201760428 ISBN 13: 9780201760422
New Paperback First Edition Quantity Available: 1
Seller:
Irish Booksellers
(Rumford, ME, U.S.A.)
Rating
[?]

Book Description Addison-Wesley Professional, 2004. Paperback. Book Condition: New. book. Bookseller Inventory # M0201760428

More Information About This Seller | Ask Bookseller a Question

Buy New
US$ 66.21
Convert Currency

Add to Basket

Shipping: FREE
Within U.S.A.
Destination, Rates & Speeds

10.

Herb Sutter
Published by Addison-Wesley Professional (2004)
ISBN 10: 0201760428 ISBN 13: 9780201760422
New Softcover Quantity Available: > 20
Seller:
Palexbooks
(Sanford, NC, U.S.A.)
Rating
[?]

Book Description Addison-Wesley Professional, 2004. Book Condition: New. Brand new! Please provide a physical shipping address. Bookseller Inventory # 9780201760422

More Information About This Seller | Ask Bookseller a Question

Buy New
US$ 66.96
Convert Currency

Add to Basket

Shipping: US$ 3.00
Within U.S.A.
Destination, Rates & Speeds

There are more copies of this book

View all search results for this book