On Oct 8, 7:13 am, jussi.san...@ard.fi wrote:
> tiistai, 25. syyskuuta 2012 17.29.21 UTC+3 bob kirjoitti:no to both of these. I've used exceptions to exit from deeply nested
> > What is the etiology of exceptions? Did they come about because people got tired of having to check a return value every time they called a function?
> Not answering the etiology of exceptions question, sorry. But a related question: What is the best understanding of their role after 40+ years?
parsers. There is no point in propagating an error through the various
calls and it makes everything more complicated.
You might be thinking of assertions.
> -exception are no program flow cotrol structuresprobably
> -exception do not add to program correctness, but to robustness (operation out of specifications)the exceptions a function may throw could be thought of as part of its
specification (though C++ has problems with this)
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.