
11 Jun
2008
11 Jun
'08
4:05 p.m.
Stefan Seefeld <seefeld <at> sympatico.ca> writes:
And even in C++... Wasn't there some discussion on this list a little while ago about using exceptions to interrupt tree or graph traversals, being conceptually and technically easier than to check after each node for various conditions ?
Throwing exception is easy way out in many situations. It doesn't make it right though. I guess there are always exceptions that prove the rule (especially if performance is not a concern). But if there is a way to avoid it I'd opt to it. Gennadiy