Re:Ask HN: Which parts of C++ do I need to learn in order to...
by bakery2k on Saturday July 30, 2016 @11:26PM
(#12195611)
Thanks for your reply. What little C++ experience I have is from several years ago - do you think (again, purely in the context of Qt) that any of the new C++11 features are worth using or should I stick to C++98?
[ Parent
| on HN ]
Re:Ask HN: Which parts of C++ do I need to learn in order to...
by EliRivers on Sunday July 31, 2016 @08:16AM
(#12196639)
As a rule of thumb, they're all worth using. C++11, to repeat something that's becoming a cliché, is like a whole new language.
Even in the context of Qt, it's worth using some C++11. auto, lambda functions, shared and unique pointers, (although QT has always provided its own versions of these), C++ 11 threads. I code heavily with Qt and I use these C++11 features daily. C++11 changes some things that used to be almost impossible into possible, and some things that used to be awkward maintenance headaches into natural and flowing code.
This is great; this is an opportunity for you to get to grips with some modern C++.