Re: Tasty exceptions
- From: "Craig Stuntz [TeamB]" <craig_stuntz@xxxxxxxxxxxxx [a.k.a. acm.org]>
- Date: 30 Jun 2006 12:10:49 -0700
Jon Robertson wrote:
Craig Stuntz [TeamB] wrote:
I really don't agree with this. I think that the only exception
which is not important is one you expect.
Which, by definition, really wouldn't be an exception.
I think that definition of exceptions -- while common -- is so
informal as to be misleading. I *expect* database deadlocks, but they
still violate the contract of the code which runs the queries. IMHO
Meyer's definition is more useful, as it doesn't require knowing what's
in a programmer's head: An exception is a violation of the contract of
a class or method.
--
Craig Stuntz [TeamB] · Vertex Systems Corp. · Columbus, OH
Delphi/InterBase Weblog : http://blogs.teamb.com/craigstuntz
All the great TeamB service you've come to expect plus (New!)
Irish Tin Whistle tips: http://learningtowhistle.blogspot.com
.
- Follow-Ups:
- Re: Tasty exceptions
- From: Jon Robertson
- Re: Tasty exceptions
- References:
- Tasty exceptions
- From: Blackbird Crow Raven
- Re: Tasty exceptions
- From: Nick Hodges (Borland/DevCo)
- Re: Tasty exceptions
- From: GrandmasterB
- Re: Tasty exceptions
- From: Nick Hodges (Borland/DevCo)
- Re: Tasty exceptions
- From: Michael C.
- Re: Tasty exceptions
- From: Nick Hodges (Borland/DevCo)
- Re: Tasty exceptions
- From: Michael C.
- Re: Tasty exceptions
- From: Craig Stuntz [TeamB]
- Re: Tasty exceptions
- From: Michael C.
- Re: Tasty exceptions
- From: Craig Stuntz [TeamB]
- Re: Tasty exceptions
- From: Jon Robertson
- Tasty exceptions
- Prev by Date: Re: Tasty exceptions
- Next by Date: Re: Captain Jake's Top Ten List of what I'd like to see in thenextversionofDelphi
- Previous by thread: Re: Tasty exceptions
- Next by thread: Re: Tasty exceptions
- Index(es):
Relevant Pages
|
|