4 ms·
No, K&R is not a relevant read if your goal is to learn to read and write idiomatic C++. And, I don't know what is. Honestly, I'm super happy that through a j
by jepler 5y ago
No, K&R is not a relevant read if your goal is to learn to read and write idiomatic C++. And, I don't know what is. Honestly, I'm super happy that through a job change I get to write C again and not C++.
C++ is just so big. C++ has changed so much from 03 through 11, 14, 17, and now/soon 20 and 23. So much can come from external class libraries such as Boost. And the exact features you can use depend on your compiler, its vintage, and any legacy code you've got in your application.
Now, references, cppreference.com is excellent as a website.
I do see that Stroustroup himself has a 2018 book titled "A Tour of C++". I can't vouch for it, but it may be worth checking into.
- AnimalMuppet 5y agoI can vouch for it. To my way of thinking, "A Tour of C++" is the closest thing to K&R for C++. It's not a complete all-you-need-to-become-a-professional-C++-programmer book, but K&R wasn't either. It gives a good look at what's going on under the hood and why. And it's amazing how complete it is for how thin it is.