comp.lang.ada
 help / color / mirror / Atom feed
From: "Mark Lundquist" <mark@rational.com>
Subject: Re: Computation of exception handling
Date: Fri, 2 Feb 2001 14:17:15 -0800
Date: 2001-02-02T14:17:15-08:00	[thread overview]
Message-ID: <95fblc$nja$1@usenet.rational.com> (raw)
In-Reply-To: 94mgqh$suo$1@nnrp1.deja.com

Hi again Sandro...

Sandro Binetti <sandrobinetti@yahoo.com> wrote in message
news:94mgqh$suo$1@nnrp1.deja.com...

>
> Do you think I'm using exception handling in an uncorrect way?
> How "exceptional" has to be an event, if occurs, to be
> considered "algoritmically treated", instead of "exception handled"?
> --
> Bye, Sandro

I would say:

If you depend on exception handleing being fast, this is an implementation
dependency.

If after that, exceptions are still an option for you, then use them if in
your judgement it makes the code easier to understand (or at least, no
harder).  If it's a just a notational shortcut that makes it easier to write
but harder to understand, then I wouldn't use them.  But there's nothing
wrong with making it easier to write if it doesn't obscure the code.  Maybe
it makes it easier to write *and* read -- if so, great, use 'em!

-- mark










      parent reply	other threads:[~2001-02-02 22:17 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <94jr16$j2q$1@nnrp1.deja.com>
     [not found] ` <94ki0n$j4d$1@usenet.rational.com>
     [not found]   ` <gauthier-2401011437350001@193.50.185.13>
     [not found]     ` <3a6ef4d9$1@pull.gecm.com>
     [not found]       ` <gauthier-2601011508270001@193.50.185.13>
     [not found]         ` <3a7188ec$1@pull.gecm.com>
2001-01-26 20:12           ` Computation of exception handling Florian Weimer
     [not found]           ` <94s4ov$qfo$1@nnrp1.deja.com>
2001-01-27 18:44             ` martin.m.dowie
2001-01-29  9:15               ` Peter Amey
2001-01-30  6:33                 ` Robert Dewar
2001-01-30  9:15                   ` Martin Dowie
2001-02-05  9:02                     ` Peter Amey
2001-02-05 12:19                       ` Martin Dowie
2001-01-28  7:35           ` Simon Wright
     [not found]   ` <94mgqh$suo$1@nnrp1.deja.com>
2001-02-02 22:17     ` Mark Lundquist [this message]
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox