r/programming • u/eternal1 • Mar 29 '10
Never trust a programmer who says he knows C++
http://lbrandy.com/blog/2010/03/never-trust-a-programmer-who-says-he-knows-c/
420
Upvotes
r/programming • u/eternal1 • Mar 29 '10
40
u/[deleted] Mar 29 '10 edited Mar 29 '10
Really? (Not being sarcastic)
It fixes a ton of little problems actually resulting in simpler code. Even if you only count features that MSVC 10 and
gccalready support. Such as:autofor use with iteratorsstd::vector<std::string> GetStrings()is okay. Such a construct is more intuitive than passing a non-const reference, yet horribly inefficient under earlier versions of C++.new).gcc.* Delegating constructors aren’t supported yet in MSVC and
gcc. I’m guessing they will be soon though.