4 ms·
Why would you not want to embrance modern C++? That's what makes C++ (potentially) worth learning today.
by zorked 10y ago
Why would you not want to embrance modern C++? That's what makes C++ (potentially) worth learning today.
- rl3 10y agoMore like selectively embracing due to complexity and optimization reasons. I'm a huge fan of keeping things as simple as possible.
- mattnewport 10y agoMy feeling is that modern C++ generally makes things simpler once you know and understand the new features (a large part of why I like it). In most cases they are either as performant or more performant than the old ways of accomplishing similar goals too (and that's an explicit design goal of new C++ features). I'm curious what features you're avoiding due to complexity or performance concerns?
- tlackemann 10y agoDo you have good resources on modern C++? I'm in the same boat of wanting to learn either Rust or C++ but I'm finding it hard to focus on what's makes up modern C++ and what I should avoid.
- rl3 10y agoAs a fellow passenger on that boat: The 4th edition of Stroustrup's classic was updated to reflect modern practices. [0] Scott Meyers, author of Effective C++ also wrote Modern Effective C++. [1] Lastly for pure online reference, cppreference.com. [2] [0] https://www.amazon.com/C-Programming-Language-4th/dp/0321563840 https://www.amazon.com/C-Programming-Language-4th/dp/0321563... [1] http://shop.oreilly.com/product/0636920033707.do http://shop.oreilly.com/product/0636920033707.do [2] http://en.cppreference.com/w/ http://en.cppreference.com/w/