3 ms·
Good stuff, I can also heartily recommend Scott Meyer's Effective Modern C++ book which covers idiosyncrasies and some unexpected behaviour (at least to me). A
by 72deluxe 10y ago
Good stuff, I can also heartily recommend Scott Meyer's Effective Modern C++ book which covers idiosyncrasies and some unexpected behaviour (at least to me).
Also Stroustrup's 4th edition of The C++ Programming Language is invaluable, if not just for the more-readable sans-serif font compared to the 3rd edition!
And of course the coverage of all C++11 changes in it...
I can also recommend the Overload journal for interesting C++ articles (https://accu.org/index.php/journals/c78/ https://accu.org/index.php/journals/c78/)
And cppcon videos on YouTube - there's a wealth of info there, free.
Also the ISO CPP FAQ (which I think supersedes Stroustrup's?): https://isocpp.org/faq https://isocpp.org/faq
- cmrdporcupine 10y agoI need to figure out what to do with my expensive old hard cover addition of the (C++98) C++ Programming Language. It just sits there looking sad. Not much value in it anymore.
- HelloNurse 10y agoIt's a monument to progress; for maximum artistic and educational value, place it where you see it every day on top of decorative obsolete hardware (I recommend the Thinking Machines CM-2 for prettiness or SGI workstation for historical value).
- readittwice 10y agoI started to read into "Effective Modern C++" but it seemed the book (or at least the beginning) focused too much on obscure edge-cases of C++ for me before I stopped reading. "Effective C++" didn't feel that way for me and many tips were useful on a day-to-day basis. Is this just me or did you have a similar experience? I read those books quite some time ago so my brain could also wrong me here...
- 72deluxe 10y agoI noticed there were many edge cases in it but it happened to cover a lot of issues inside some C++11 code I'd written and I find out it quite enlightening, particularly the section regarding reference collapsing, type deduction and the bit on threading really not working like you would expect. I have not read the previous ones so not really sure on the style difference with them. I wonder if it depends on the sort of code you were writing - I was making use of std::thread and incorrectly assuming a certain behaviour.