6 ms·
"Effective Modern C++" (2014) is probably still the best crash course if you're already broadly familiar with C++. There's more stuff in C++17 and 20, but the r
by TillE 6y ago
"Effective Modern C++" (2014) is probably still the best crash course if you're already broadly familiar with C++. There's more stuff in C++17 and 20, but the really jarring additions like move semantics were standardized earlier and therefore covered in the book.
Bjarne Stroustrup's "A Tour of C++" (2018) is also frequently recommended.
- Jtsummers 6y agoJust seconding "A Tour of C++". I picked it up last year to learn modern C++ since my professional experience has solely been with older C++ standards and code bases. The book is clearly written, though sometimes very brief. It is what it calls itself, a tour. If you already know older versions of C++, it's great. If you don't know any C++ but do know how to program (more than just the basics), it's a good place to start. If you're just learning to program, it'd probably be both overwhelming (too deep too fast) and underwhelming (too shallow in critical areas for novices). It assumes you know the basics, so start with a different book and come to this one later.
- jandrese 6y agoI'm curious which parts are considered deprecated at this point. What patterns should I avoid? Certainly there must be parts that have fallen in disfavor as better solutions are introduced.