The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
Newsgroups: comp.programming
From: Nick Keighley <nick_keighley_nos...@hotmail.com>
Date: Wed, 10 Oct 2012 08:06:05 -0700 (PDT)
Local: Wed, Oct 10 2012 11:06 am
Subject: Re: etiology of exceptions
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 structures
probably
> -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.
| ||||||||||||||