News for hackers. Stuff that matters.
Re:We have C++14 by lmm on Tuesday August 19, 2014 @07:51AM (#8196839)
> you can refuse to catch or throw exceptions for 99% of your (millions of lines) of code and still end up with a very large, stable code base running a large portion of the internet.

The point is that these features are infectious. If you don't want to throw exceptions, how do you handle a failure in a constructor? And then if you abandon constructors, other C++ features are unusable without them. And so on.

Re:We have C++14 by rozim on Wednesday August 20, 2014 @01:37AM (#8201211)
Googler here. We avoid doing "work" in constructors as per the style guide: http://google-styleguide.googlecode.com/svn/trunk/cppguide.x...
Re:We have C++14 by lmm on Wednesday August 20, 2014 @04:39AM (#8201543)
Yeah, that's pretty much what you have to do, and go back to a C-style init method. But then you've lost the benefits of RAII, and you can't necessarily use those types with templates (which won't know about your init method).