3 ms·
I would add that it is true that there is a semantic burden with exceptions in that they are suggestive of error, rather than special case, conditions. That de
by Chris_Newton 14y ago
I would add that it is true that there is a semantic burden with exceptions in that they are suggestive of error, rather than special case, conditions.
That depends very much on the idioms and conventions of whichever language you’re using. In Python, for example, there are some built-in exceptions like StopIteration that are used for routine flow control and do not in general represent an error.