More Effective C++: 35 New Ways to Improve Your Programs and Designs
1 journaler for this copy...
I liked the previous one, so let's go for more.
My feelings about this one are rather different. While the previous one, as far as I remember, taught you about real uses of the language, this dives into more bizarre cases, possibly useful, but not obviously.
I've found out that smart pointers and inheritance is not as obvious as it might seem. The thing is that the book spends some pages trying to make it work but from C+11, smart pointers are part of the C++ library and it's done for you. I'd say the so-hard-to-solve problem just works! Then, most of the interest is gone.
Some insights are interesting, though. Specially those around the virtual functions (when they should or shouldn't be) or deleted destructors.
I've found out that smart pointers and inheritance is not as obvious as it might seem. The thing is that the book spends some pages trying to make it work but from C+11, smart pointers are part of the C++ library and it's done for you. I'd say the so-hard-to-solve problem just works! Then, most of the interest is gone.
Some insights are interesting, though. Specially those around the virtual functions (when they should or shouldn't be) or deleted destructors.