Thursday, June 6, 2013

Guru of The Week (GoTW) - Herb Sutter is back

Herb Sutter is active again with his GoTW columns. He has been for a few weeks now.

The latest one is about using unique_ptr to clearly define ownership of pointers. See it here. From there you can jump to his main page and explore other columns.

unique_ptr replaces auto_ptr. This latest column is a great introduction to it, if you grew up with auto_ptr (as I did) and need to understand why it is better to move on to unique_ptr now.

If you never heard of Herb Sutter before, a good place to start is his C++ Coding Standards book. It's a gentle introduction to good C++ practices.

From there you can move on to Exceptional C++ and More Exceptional C++ books. They are denser reads than the Coding Standards book, but well worth the time. They are nicely structured around relatively short chapters. Some of the chapters build on top of the previous one, so it makes more sense to read the chapters in the sequence they are presented in the book.

I learned a lot about C++ with these books. One of the best investments of time I did for C++.





No comments:

Post a Comment