
Effective STL
by Scott Meyers · first published 2001
21mentions
13recommended by
18HN commenters
2008–2021first – last mentioned
72% recommend22% neutral6% critical
Why HN recommends it
Practical guidance on using the STL well, aimed at C++ programmers past the basics. Fans find it the most useful of Meyers' series for day-to-day work, for its clear, insightful fixes to common mistakes.
Summarised by Claude from recommending comments
Affiliate links. As an Amazon Associate I earn from qualifying purchases.








Start by learning C. The best way to learn C is by reading The C Programming Language by Kernighan and Ritchie. Then read Effective C++, More Effective C++, and Effective STL by Scott Meyers. Then move on to Exceptional C++, More Exceptional C++, and and Exceptional C++ Style by Herb Sutter. Stay away from Alexandrescu's books. Template meta-programming and "modern C++"…
on “Learning C++ in 2010” ↗…you are already further in and not at the beginning of learning C++ there is a list of books I recommend as further readings: - Effective C++ by Scott Meyers - More Effective C++ by Scott Meyers - Effective STL by Scott Meyers --- - Exceptional C++ by Herb Sutter - More Exceptional C++ by Herb Sutter - Exceptional C++ Style by Herb Sutter --- - C++ Templates - The Complete Guide by David Vandevoorde and…
on “The Rook's Guide to C++” ↗I found the scott meyers books to be good (effective C++ and effective STL)
on “C++ Grandmaster Certification” ↗Effective STL Programming by Meyers is probably your best bet for comprehension and fluency. Stroustrop is surprisingly good as a walkthrough of the language itself. Modern C++ Design by Alexander Alexendrescu is…
on “Ask YC: C++” ↗Effective C++ from Scott Meyers (and the serie: More effective C++, Effective STL) are the first book that showed me the difference between coding and writing good code in C++. I strongly recommand it.
on “Learning C++ in 2010” ↗You want the Scott Meyers books, particularly Effective C++ and Effective STL (I don't know if they're still in print, but you want them). Effective STL is probably the single most valuable C++ book out there. A decent but superficial grasp of C++ plus Effective STL will get you…
on “Learning C++ in 2010” ↗If you're into C++, definitely check out the books by Scott Meyers (Effective C++, More Effective C++, Effective STL). They're not "how to get started" books, they are "how to fix the stuff you are doing wrong" books. He is very insightful and writes very clearly. He also has a sense of humor, so look for little…
on “The Programming Books That Meant The Most To Me” ↗I am talking about Effective C++, More effective C++ and Effective STL by Meyers and The C++ programming language by Stroustrup. Effective Modern C++ is about the new C++11 and C++14 standards. I am reading it now, looks good so far. If you can get one thing, maybe Stroustrup's…
on “Comparing Rust and C++” ↗IMO, the classic C++ book/author is still the best: Effective C++. Don't forget about the sequels, including the mostly overlooked Effective STL (which I happen to like better than the first two books). And to address the modern part of this question, I'll add that Scott Meyers has written Effective Modern C++ as well, but I'd read that last after…
on “Ask HN: Best way to learn modern C++?” ↗…committee. Second: Effective C++ by Scott Meyers -This book is spectacular and will take you from beginner to the next level. It is very well written and an easy read. More Effective C++ and Effective STL are also good. Reference: The C++ Programming Language Bjarne Stroupstrup -This should be your reference book. If you want some Guru level references I can list a couple more advanced books if…
on “Ask YC: C++” ↗…most of them to be really good-- which basically meant you know exactly what you're asking the compiler to do. For that, I have used Effective C++ (don't forget -Weffc++ flag in GCC), Exceptional C++, Effective STL, The C++ Standard LIbrary (Josuttis) as reference and reading. They have helped a lot. Now, I look into boost source tree once in a while to see how they do certain things or to debug some boost libraries.…
on “Learning C++ in 2010” ↗Yes, the following I recommend: Advanced C++. http://www.amazon.com/Advanced-C-Programming-Styles-Idioms/d... Any and all Herb Sutter books. Effective C++, More Effective C++, and Effective STL ... all by Scott Myers. With those you're 90% set. What you'll need to supplement with thoough is something that covers the 0x standard.
on “The New C++: Lay down your guns, knives, and clubs” ↗Yes, also Effective STL. These books turned me from a C++ coder into the "the C++ guy" at work.
on “The C++ and programming books I recommend” ↗I've read couple of Effective C++ series books by him and I've found Effective STL to be the most useful book for my day-to-day C++ programming at work.
on “The Time Needed to Write “Effective Modern C++”” ↗There's actually an item about that in Scott Meyers's Effective STL book. Item 23: Consider replacing associative containers with sorted vectors.
on “What to use instead of std::set [pdf]” ↗