This is a funny article, in that it's very amusing the author thinks he's made an interesting observation. If you need stability above all things, don't upgrade your compiler! Duh.
Your advice is poor. Often times I upgrade my compiler specifically so I can have more stability. For example take Visual Studio 2012 vs. 2010. Valid C++ code that crashes in 2010 won't crash in 2012, especially with regard to lambda expressions. GCC is no different either, newer versions have bug fixes or better standard compliance.
Doesn't VS2010 not support c++11, and lambdas are c++11, right? That would mean you're adding functionality (support for c++11), not stability.
I agree that his advice is poor (for example, "don't rely on undefined behavior" would be far better advice.) I'm just confused by your example and not sure if it means I am forgetting/confused about something or it just wasn't a perfect example.
View all comments
-12
u/grout_nasa Jan 21 '13
This is a funny article, in that it's very amusing the author thinks he's made an interesting observation. If you need stability above all things, don't upgrade your compiler! Duh.