[prev] [thread] [next] [lurker] [Date index for 2007/01/28]
On Sun, 2007-01-28 at 10:04 +0200, Yossi Kreinin wrote: > I don't like throw/catch in C++ because it slows down the entire body of code What are you talking about? There is no reason for there to be any performance impact at all on C++ code which handles exceptions right up until the point where an exception is handled. Of course, there's no slowdown there either 'cause otherwise you wouldn't be handling an exception. I'd like to point out here and now that getting a null value result from a SQL query is NOT FUCKING EXCEPTIONAL. DON'T THROW AN EXCEPTION, WANKERS! Sorry for the shouting. But crap like that really annoys me. There's a whole universe of other perfectly normal conditions that aren't exceptional for which it throwing an exception is so obviously the wrong thing to do. People seem to do it anyway. Sigh. Cheers, Martin. PS. http://www.google.com/codesearch?hl=en&lr=&q=FIXME%3A&btnG=Search 520,000 hits. How reassuring is that???There's stuff above here
Generated at 23:01 on 06 Feb 2007 by mariachi 0.52