
24 Aug
2007
24 Aug
'07
5:03 p.m.
Hello Ilya, Friday, August 24, 2007, 3:12:11 PM, you wrote:
Alexander Nasonov wrote:
[snip]
Error handling is as important as a main flow of execution. I don't see how ScopeExit is worst than ScopeGuard in distracting from the main flow. try/catch and try/finally are even worst, see the Alternatives section.
Sorry for such late response. I have not found a comparison with try/finally in the Alternatives section, but i think it should be there.
I suspect, because there is no "finally" in C++ and therefore it's not really an alternative. -- Best regards, Andrey mailto:andysem@mail.ru