 |
More Effective C++: 35 More Ways to Improve Your Programs and Designs View Larger Image | Scott Meyers Addison-Wesley, Paperback, Published December 1995, 318 pages, ISBN 020163371X | List Price: $49.99 Our Price: $38.95 You Save: $11.04 (22% Off)
| | | Availability: Out-Of-Stock |
Customer Reviews: 1 Average Customer Rating:      Write a Review and tell the world about this title! People who purchase this book frequently purchase: - Effective C++: 55 Specific Ways to Improve Your Programs and Designs, 3rd Edition; Scott Meyers, $38.95, 22% Off!
- Effective STL; Scott Meyers, $38.95, 22% Off!
- The C++ Standard Library: A Tutorial and Reference; Nicolai M. Josuttis, $57.95, 23% Off!
- C++ Coding Standards: 101 Rules, Guidelines, and Best Practices; Herb Sutter, et al, $31.50, 21% Off!
Books on similar topics, in best-seller order:Books from the same publisher, in best-seller order:
Praise for Scott Meyers' first book, Effective C++:
"I heartily recommend Effective C++, to anyone who aspires to mastery
of C++ at the intermediate level or above."
-- The C/C++ User's Journal
From the author of the indispensable Effective C++, here are 35
new ways to improve your programs and designs. Drawing on years of experience,
Meyers explains how to write software that is more effective: more
efficient, more robust, more consistent, more portable, and more reusable.
In short, how to write C++ software that's just plain better.
More Effective C++ includes:
- Proven methods for improving program efficiency, including incisive
examinations of the time/space costs of C++ language features
- Comprehensive descriptions of advanced techniques used by C++ experts,
including placement new, virtual constructors, smart pointers, reference
counting, proxy classes, and double-dispatching
- Examples of the profound impact of exception handling on the structure
and behavior of C++ classes and functions
- Practical treatments of new language features, including bool, mutable,
explicit, namespaces, member templates, the Standard Template Library,
and more. If your compilers don't yet support these features, Meyers shows
you how to get the job done without them.
More Effective C++ is filled with pragmatic, down-to-earth advice you'll
use every day. Like Effective C++ before it, More Effective C++
is essential reading for anyone working with C++.
Table of Contents
Acknowledgments.
Introduction.
Basics.
ITEM 1. Distinguish Between Pointers and
References.
ITEM 2. Prefer C++-Style Casts.
ITEM 3. Never Treat Arrays Polymorphically.
ITEM 4. Avoid Gratuitous Default Constructors.
Operators.
ITEM 5. Be Wary of User-Defined Conversion
Functions.
ITEM 6. Distinguish Between Prefix and Postfix
Forms of Increment and decrement operators.
ITEM 7. Never Overload &&, ||, or,.
ITEM 8. Understand the Different Meanings
of New and Delete.
Exceptions.
ITEM 9. Use Destructors to Prevent Resource
Leaks.
ITEM 10. Prevent Resource Leaks in Constructors.
ITEM 11. Prevent Exceptions from Leaving
Destructors.
ITEM 12. Understand How Throwing an Exception
Differs from Passing a Parameter or Calling a Virtual Function.
ITEM 13. Catch Exceptions by Reference.
ITEM 14. Use Exception Specifications Judiciously.
ITEM 15. Understand the Costs of Exception
Handling.
Efficiency.
ITEM 16. Remember the 80-20 Rule.
ITEM 17. Consider Using Lazy Evaluation.
ITEM 18. Amortize the Cost of Expected Computations.
ITEM 19. Understand the Origin of Temporary
Objects.
ITEM 20. Facilitate the Return Value Optimization.
ITEM 21. Overload to Avoid Implicit Type
Conversions.
ITEM 22. Consider Using Op= Instead of Stand-Alone
Op.
ITEM 23. Consider Alternative Libraries.
ITEM 24. Understand the Costs of Virtual
Functions, Multiple Inheritance, Virtual Base Classes, and RTTI.
Techniques.
ITEM 25. Virtualizing Constructors and Non-Member
Functions.
ITEM 26. Limiting the Number of Objects of
a Class.
ITEM 27. Requiring or Prohibiting Heap-Based
Objects.
ITEM 28. Smart Pointers.
ITEM 29. Reference Counting.
ITEM 30. Proxy Classes.
ITEM 31. Making Functions Virtual With Respect
to More Than One Object.
Miscellany.
ITEM 32. Program in the Future Tense.
ITEM 33. Make Non-Leaf Classes Abstract.
ITEM 34. Understand How to Combine C++ and
C in the Same Program.
ITEM 35. Familiarize Yourself With the Language
Standard.
Recommended Reading.
An Auto_Ptr Implementation.
General Index.
Index of Example Classes, Functions, and Templates.
About the Author
Scott Meyers is one of the world's foremost authorities on C++ software
development. He is a former columnist for C++ Report, a frequent
contributor to C/C++ Users Journal and Dr. Dobb's Journal,
and a consultant to clients worldwide. A member of the Advisory Boards for
NumeriX LLC and InfoCruiser Inc., he has a Ph.D. in Computer Science from
Brown University.
Customer Reviews
Customer Reviews: 1 Average Customer Rating:      Aug 16, 2000     Larry Brunelle from Allen, TX Just as Effective C++, this is a must-have! Following the random-access format of Effective C++, More Effective C++ presents more topics in the context developers encounter them. (The purchase is worthwhile for the discourse on double-dispatch alone.) While models of accessible, lucid writing (even for the newbie), Scott Meyers's books also attain the stature of indispensible reference works, as necessary as Stroustrup or the ANSI standard. If you read and heed Mr. Meyers, you will understand not only more about C++, but about semantics and sound engineering as well. And you will write less code that does more, lasts longer, and requires less maintenance! Portions of Mr. Meyers's work have already been incorporated into (and in some cases have replaced portions of) corporate coding standards. Encourage your shop to put copies on the desk of every developer!
|
 |