Effective C++: 50 Specific Ways to Improve Your Programs and Design (2nd Edition) Paperback – Sep 2 1997
There is a newer edition of this item:
Customers Who Bought This Item Also Bought
No Kindle device required. Download one of the Free Kindle apps to start reading Kindle books on your smartphone, tablet, and computer.
To get the free app, enter your e-mail address or mobile phone number.
This exceptionally useful text offers Scott Myers's expertise in C++ class design and programming tips. The second edition incorporates recent advances to C++ included in the ISO standard, including namespaces and built-in template classes, and is required reading for any working C++ developer.
The book opens with some hints for porting code from C to C++ and then moves on to the proper use of the new and delete operators in C++ for more robust memory management. The text then proceeds to class design, including the proper use of constructors, destructors, and overloaded operator functions for assignment within classes. (These guidelines ensure that you will create custom C++ classes that are fully functional data types, which can be copied and assigned just like built-in C++ classes.)
The author also provides a handful of suggestions for general class design, including strategies for using different types of inheritance and encapsulation. Never doctrinaire and always intelligent, these guidelines can make your C++ classes more robust and easier to maintain. --Richard Dragan
Read the full review for this book.
Effective C++ CD is the HTML (Netscape-oriented) version of Scott Meyers' previous two works, Effective C++, Second Edition and More Effective C++. Additionally, five supplementary magazine articles appear in the collection. There are also links to relevant material on the Web which that been added to the current edition and which did not appear in the print edition.
Scott Meyers' work is so well known as scarcely to need introduction. Respect for his C++ acumen and pedagogic skills is so widespread that I was prepared to thoroughly detest his work, which I have encountered often but barely deigned to read to date.
On close examination, I find Meyers' books to be superb.
Of the 50 catechismic "Items" in the body of Effective C++, the vast majority are of critical importance to solid C++ programming. Virtually everything Scott Meyers suggests on these subjects is germane and practical. Where one could conceivably differ with Meyers' approach, his is nevertheless an entirely sound approach.
The second volume, More Effective C++, is cast in the same mold as the first volume. Here the discussion of 35 further "Items" tends to devolve somewhat towards matters of style. However, these are still critical issues being raised that the intermediate C++ programmer must confront sooner or later, athey are shipped too early. They fail because they arenthey are shipped too early. They fail because they arens presented in Meyers' rich and sympathetic tutorial prose. --Jack Woehr, Dr. Dobb's Journal -- Dr. Dobb's JournalSee all Product Description
Top Customer Reviews
One thing is for sure - for each item you read, you notice your programming errors and/or strong points, and generally move on to become a better C++ programmer. It doesn't teach you how to program (if a novice), it makes you better understand what you know or have an idea of if you've already been doing some (or alot) coding. It is also broken into sections, so you can jump right into where you think you need more clarification. Highly recommended.
How universally accepted these tips have become you can guess form reading the C++ newsgroups or noticing that they have been fully integrated into automatic source checking tools such as gimpel's PC-Lint. Professional programmers should know these 50 gems by heart - buy the book!
I agree with the opinion of lots of people who already posted their reviews here that this book is an essential read for profesional C++ programmers. If a professional does not do things more or less in the fashion described in the book, he/she isn't doing them right. With increasing experience over the years, a professional would naturally approach the right ways, but the book collects distilled wisdom in one place and would accelarate one's accetance and practice of them. Still I believe there are professionals who have not read the book, which is a shame to themselves and bad for the reputation of software products.
Another point I want to make is that the book deserves multiple readings. In other words, it's not a book you read once and then throw away (or sell here :-), which is indeed the case for more than 99.999% of the books ever published. It makes a perfect companion as one develops his/her career engineering software systems/applications in C++ & its associated libraries/tools.
One thing I noticed when reading it is that the items about memory management appear near the beginning of the book. Compared to most other items later on, they are less quick to understand. So you may want keep that in mind so as not to be discouraged. I believe you may read the 50 items in the book in a random order.
To adequately appreciate the book, it's likely necessary for one to have at least read a couple of C++ books (such as Accelarated C++ by Koenig & Moo and C++ Primer by Lippman) and at least a few months of experience on a job coding in C++.
All in all, this book is strongly recommended and a must read for professionals.
After reading it I can say that much of the stuff in this book can also be found on Stroustrup's. What is the added value of this book then ?
Objectively, it brings some techniques that you may encounter for the first time here, and that once learned they use to become bread & butter of everyday programming. Think about the body/handle or letter/envelope patterns. You can learn them from Coplien's, from Gang of Four's "Design Pattern" or elsewhere. However Meyers' account on these topics is truly straightforward and expanded (respect to Coplien's, e.g.).
But there's more. A single read of a big manual (e.g. Stroustrup or Lippman or Deitels) will often result as not enough impressing to the novice, especially if the read has been a fast one ("we need that you learn C++ as soon as possible ..."). Too many details could pass unobserved; hence a second, slower read would be a good idea. But reading such a manual twice, from the first to the last page, is something that require a fair amount of courage. It's at this point that books like this and others (always the company: Coplien, Meyers, Murrai, Allison, Koenig and so on) show their usefulness: they make you ponder about those details you've missed but that are really important if you want to exploit the language as a good accustomed user does.
Why this book instead of some others of the same kind ? Simply because it's very clearly written and easily readable. I've had absolutely no difficulties in reading it, item after item. Meyers has a good and often entertaing writing style, and more important he very well knows the language. I'd say: one of the best source to improve your language knowledge from.
Most recent customer reviews
I was a little hesitant to buy this, given its publication date. Let me encourage you to buy it without delay, and the sequel, and/or the CD! Read morePublished on May 28 2004 by Joy L. Getha
Like its predecessor, C++ has been about making the machine do more, more efficiently. For anyone who continues to relearn and expand their craft, this book is an excellent peek... Read morePublished on Feb. 26 2004 by Eric
Everything has been said about this book. It's simple, well structured, and probably the best thing it has is that it doesn't teach you how to code in C++ (that's up to you); it... Read morePublished on Oct. 21 2003 by John
I liked this book a lot. It is something you could finish reading in a day or two and would help you more than the time you spent reading it. Read morePublished on May 15 2003
If you're C++ developer, you should not miss this book.
Before I read this book, I was reading the Scott articles on Internet. Read more
It is really scary to be a C++ programmer and having to collaborate with people that havent read this book. It is literally like difusing a time bomb. Read morePublished on Dec 14 2002 by tonatiuh
This book contains a list of no less that 50 pratical tips for the C++ programmer. These tips are basically just common sense, and the advanced C++ will already know the vast... Read morePublished on Oct. 18 2002 by Jacob Marner
What sets this book apart from many others is its direction, style, readability and brevity. I guess Scott Meyers should be one of those most gifted authors the readability of whom... Read morePublished on Sept. 18 2002 by Vijay Krishna
Look for similar items by category
- Books > Computers & Technology > Microsoft > Development > C & C++ Windows Programming
- Books > Computers & Technology > Programming > C
- Books > Computers & Technology > Programming > Languages & Tools
- Books > Computers & Technology > Programming > Software Design, Testing & Engineering > Object-Oriented Design
- Books > Computers & Technology > Software
- Books > Professional & Technical > Professional Science > Mathematics
- Books > Textbooks > Computer Science & Information Systems > Programming Languages