Re:Modern C++ Features – std::optional
by TheAnig on Saturday June 09, 2018 @07:12PM
(#17275516)
With all the modern features being used, I wonder how one would go about learning modern C++.
[ Parent
| on HN ]
There are several good books about c++11 and c++14, though I'm not sure about 17.
"Effective Modern C++: 42 Specific Ways to Improve Your Use of C++11 and C++14" https://www.amazon.com/Effective-Modern-Specific-Ways-Improv...
"Discovering Modern C++: An Intensive Course for Scientists, Engineers, and Programmers (C++ In-Depth Series)" https://www.amazon.com/Discovering-Modern-Scientists-Program...
If you know the basics, cppreference.com is your best bet.
Re:Modern C++ Features – std::optional
by stochastic_monk on Saturday June 09, 2018 @09:58PM
(#17276017)
And reading real code. It’s important to see how these pieces all go together. Just reading cppreference is like familiarizing yourself with legos without seeing how to build something with them.
Re:Modern C++ Features – std::optional
by anaphylactic on Saturday June 09, 2018 @07:48PM
(#17275641)
That's a good point, and it's not just a problem with C++. As any project matures, the voices of current users drown out the voices of new users, and as a result discoverability gets thrown out the window. How would you engineer a project so as to avoid this fate?