This will be controversial. But I've watched a few cppcon talks and I'm tired of people recommending std::for_each. Ranged for loop wins every time. It's faster in debug. It's easier to debug. It's shorter. It's easier to extend. Use ranged for. Don't use trivial algorithms.
-
-
Replying to @zeuxcg
I'm so backwards. I still use C++ like it's roughly 2003.
2 replies 0 retweets 11 likes -
Replying to @richgel999 @zeuxcg
I'm a bit more modern than that. I use nullptr instead of NULL now. ;-) I also like the 'override' keyword (on the rare occasion for a virtual function.)
1 reply 0 retweets 2 likes -
I think C++ has now reached levels of maturity as a good wine that if we keep to add useless features we will spoil it and become it like undrinkable vinegar...
1 reply 0 retweets 0 likes
Yup. It's morphing into a language I don't want to use anymore. If all these new features being suggested are added I won't be able to even read or understand "Modern C++" in 5-10 years. No thanks!
9:24 AM - 18 Oct 2018
0 replies
0 retweets
1 like
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.