Re:Exploding Error Codes (C++)
by Jabbles on Wednesday November 10, 2010 @05:31AM
(#1889841)
So every function I write has to take an extra parameter? No thanks.
[ Parent
| on HN ]
Re:Exploding Error Codes (C++)
by timrobinson on Wednesday November 10, 2010 @05:39AM
(#1889849)
Like a comment on the article says, this is Java checked exceptions for C++.
Checked exceptions don't give you exception safety for free: they give you boilerplate code, and exception safety is still up to the developer.
(I never bought the argument about exceptions obfuscating control flow, either.)