Effective C++: 55 Specific Ways to Improve Your Programs and Designs by Scott Meyers

BUY IT NEW

  • $49.99 List price
    $35.83 Online price
    $32.25 Member price
    (Save 35%)
    Limited Time Offer! Everyone receives the Member Price on books.
    See Details
  • skip to cart
  • Add To List uiAction=GetAllLists&page=List&pageType=list&ean=9780321334879&productCode=BK&maxCount=100&threshold=3

GET FREE SHIPPING ON ORDERS OF $25 OR MORE

DELIVERY & GIFT DETAILS:

Usually ships within 24 hours

Delivery Time and Shipping Rates

Eligible for gift wrap & gift message.

BUY IT USED

12 copies from $33.00

See All Available

Pick Me Up

Reserve it at BN.com & pick it up in 60 minutes at your local store.

Enter a zip code

Textbook (Paperback - REV)

  • 297pp
  • Sales Rank: 43,385

Textbook Information

  • ISBN-13: 9780321334879
  • Edition Description: REV
  • Edition Number: 3
  • Pub. Date: May 2005
  • Publisher: Addison-Wesley
Buy it Used: 12 copies from $33.00 See All Available

Customers who bought this also bought

 
  • Overview
  • Editorial Reviews
  • Customer Reviews
  • Features

Product Details

  • Pub. Date: May 2005
  • Publisher: Addison-Wesley
  • Format: Textbook Paperback, 297pp
  • Sales Rank: 43,385

Synopsis

Meyers offers his insights on writing C++ software that is comprehensible, maintainable, portable, extensible, efficient, and likely to behave as expected. Topics of the 55 items include: declare destructors virtual in polymorphic base classes, copy all parts of an object, postpone variable definitions as long as possible, avoid hiding inherited names, and pay attention to compiler warnings. The third edition adds chapters on resource management and programming with templates. Annotation ©2005 Book News, Inc., Portland, OR

Slashdot.org

A major re-write and re-org. Do you need this book? If you program C++, yes, you probably do, even if you have a previous edition. Don't let the "Third Edition" faze you, because it has lots of new insights into the vagaries of the C++ language. And if you're new to C++, this is pretty much a must-own book.

More Reviews and Recommendations

Biography

Scott Meyers is one of the world's foremost authorities on C++, providing training and consulting services to clients worldwide. He is the author of the best-selling Effective C++ series of books (Effective C++, More Effective C++, and Effective STL) and of the innovative Effective C++ CD. He is consulting editor for Addison Wesley's Effective Software Development Series and serves on the Advisory Board for The C++ Source (http://artima.com/cppsource). He holds a Ph.D. in Computer Science from Brown University. His web site is http://aristeia.com.



Customer Reviews

  • Reader Rating:
  • Ratings: 3Reviews: 2

practical adviceby Anonymous

Reader Rating:
See Detailed Ratings

February 25, 2006: This is an excellent book for anyone who is writing C code and compiling it with a C compiler. Scott Meyers helps you understand why to implement each recommendation in a way so that you don't need to simply trust his advice without understandnig why. This book will help you understand how to make incremental improvements in how you build C applications.

Easy to implementby Anonymous

Reader Rating:
See Detailed Ratings

May 15, 2005: This seems to be for a C programmer who has moved beyond mastery of the basic syntax. Ok, you can implement a set of interrelated classes and get everything compiled and run. But, and you're aware of this, there may be refinements in coding that elude you. So Meyers offers a cookbook of 55 improvements. I'd agree with the cover's claim that these recipes are indeed specific enough to be useful. Take the suggestion about deferring variable definitions as long as possible. This minimises the chance of creating unused variables, which has an attendant cost in computing and memory, if the compiler is not smart enough to omit them. Plus, there is a cost in harder coding and debugging, if the definition of a variable is many screens before its first usage. Such a contrast with earlier languages like C or Fortran, where you have to define all the variables upon entry to a subroutine. This example also shows an unheralded merit of the book. A bunch of recipes are also germane in other OO languages like Java. The only gripe I have is with the suggestion of declaring data variables private. I certainly agree with it. But this is one of the first things you learn in any introductory text on an OO language. It really seems unnecssary here, unless the author is just padding out the book.