2 ms·
C++ is very much a mixed bag but the new features in the C++11 standard do help a lot. The "auto" keyword and range-based for loops alone have decluttered my co
by cageface 15y ago
C++ is very much a mixed bag but the new features in the C++11 standard do help a lot. The "auto" keyword and range-based for loops alone have decluttered my code quite a bit.
The new smart pointers make me nervous after the auto_ptr fiasco but they seem to be working fine in my code so far.
I'm looking forward to trying out the lambdas as soon as they hit in XCode.
- okamiueru 15y agoThe BOOST_FOREACH has helped declutter my code a lot as well. After getting used to it, I feel it expresses intent better than a for loop with auto begin-end.