Jump to ratings and reviews
Rate this book

Effective C++ Digital Collection: 140 Ways to Improve Your Programming

Rate this book
Scott Meyers’s seminal C++ books– Effective C++ , More Effective C++ , and Effective STL –have been immensely helpful to hundreds of thousands of C++ programmers. All three are finally available together in this eBook collection.

 

Effective C++ has been embraced by hundreds of thousands of programmers worldwide. The reason is Scott Meyers’s practical approach to C++ describes the rules of thumb used by the experts to produce clear, correct, efficient code. The book is organized around 55 specific guidelines, each of which describes a way to write better C++. Each is backed by concrete examples.

 

In More Effective C++, Meyers presents 35 ways to improve your programs and designs. Drawing on years of experience, Meyers explains how to write software that is more more efficient, more robust, more consistent, more portable, and more reusable. In short, how to write C++ software that’s just plain better.

 

In Effective STL, Meyers goes beyond describing what's in the STL to show you how to use it. Each of the book’s 50 guidelines is backed by Meyers’s legendary analysis and incisive examples, so you’ll learn not only what to do, but also when to do it–and why.

 

Together in this collection, these books include the following important

Expert guidance on the design of effective classes, functions, templates, and inheritance hierarchies. Applications of new “TR1” standard library functionality, along with comparisons to existing standard library components. Insights into differences between C++ and other languages (e.g., Java, C#, C) that help developers from those languages assimilate “the C++ way” of doing things. 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. Advice on choosing among standard STL containers (like vector and list), nonstandard STL containers (like hash_set and hash_map), and non-STL containers (like bitset). Techniques to maximize the efficiency of the STL and the programs that use it. Insights into the behavior of iterators, function objects, and allocators, including things you should not do. Guidance for the proper use of algorithms and member functions whose names are the same (e.g., find), but whose actions differ in subtle (but important) ways. Discussions of potential portability problems, including straightforward ways to avoid them.

2478 pages, Kindle Edition

First published June 21, 2012

Loading...
Loading...

About the author

Scott Meyers

28 books121 followers
Scott Douglas Meyers is an American author and software consultant, specializing in the C++ computer programming language. He is known for his Effective C++ book series. During his career, he was a frequent speaker at conferences and trade shows.

Ratings & Reviews

What do you think?
Rate this book

Friends & Following

Create a free account to discover what your friends think of this book!

Community Reviews

5 stars
26 (68%)
4 stars
9 (23%)
3 stars
3 (7%)
2 stars
0 (0%)
1 star
0 (0%)
Displaying 1 of 1 review
Profile Image for Eric.
110 reviews1 follower
June 28, 2014
Variable quality. The whole series is old, the most recent entry being published in 2005. But "More Effective C++" really shows its age, having been published in the mid 90's; so it is almost 20 years old. That being said, this is still a useful collection. I read it to remind myself of C++ gotchas and it served that purpose well. The first and third books I would still recommend to a beginning C++ programmer.

My ratings for the individual parts are:

Effective C++: 4 stars

The star of the three (and surprisingly, the most recently revised). It has good coverage of many basic and intermediate C++ techniques. The examples are well-chosen and short. The explanations are lucid. It is very useful and will be worth reading a third time in the future - especially if Mr. Meyers updates it for C++11.

More Effective C++: 2.5 stars

Its age is its major downfall. It spends lots of time on work-arounds for old, non-compliant compilers that are no longer relevant. Its age also causes the discussion of exception safety to be superseded by the one in Effective C++. Additionally, the discussion of reference counted strings is much too long for something that would normally be implemented with shared_ptr now.

Effective STL: 3 stars

Good coverage of the STL. I'm mostly an old STL hand, so there wasn't much surprising here. However, (surprisingly) I didn't remember the erase-remove idiom and it was nice to be reminded to make my function objects adaptable.
Displaying 1 of 1 review