Re: Evolution
From: Alex McDonald (alex_mcd_at_btopenworld.com)
Date: 11/21/03
- Next message: Randall Hyde: "De- Evolution"
- Previous message: Betov: "Re: Writing an Adventure game with HLA"
- In reply to: Betov: "Re: Evolution"
- Next in thread: Betov: "Re: Evolution"
- Reply: Betov: "Re: Evolution"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Fri, 21 Nov 2003 19:04:54 +0000 (UTC)
"Betov" <betov@free.fr> wrote in message
news:XnF943A5F08F47BDbetovfreefr@213.228.0.75...
> _____________________
> * Errors Managements:
>
> I am not the one who impemented a lazy SEH. Instead, RosAsm
> Errors Management is a per cases based implementation providing
> sensible errors messages, as well at [Compile] time as at
> [Run] Time. So, yes (!!!...), for errors that i never thought
> about, that i have never heard about and never seen... _yes_,
> the _normal_ behaviour is to hang. The great thing with this
> deliberate choice is that it _forces_ users to report, and i
> have to say that, at least for the Assembler itself, i simply
> don't recall the last time i had some report of that kind...
Or forces users to throw it away because its broken. Exception based error
handling is there to provide a mechanism to simplify the code you write;
rather than have to address all the _potential_ errors in-line in the code
(very often to the detriment of clarity), exception handling allows you to
focus on the task in hand and treat exceptions as (1) infrequent(2)
interrupts (3) out of line of the main code and (4) on a case by case basis.
More importantly, it forces you to recognise that your software will always
have a fault somewhere. Software should degrade gracefully; if it must fail,
then with as good diagnostics as possible. Managing unknown errors is about
recognising their inevitability; that is, _at design time_ making sure that
they can be handled and reported at run time. Software that explodes, hangs,
loops or dies silently is simply poorly designed software.
-- Regards Alex McDonald
- Next message: Randall Hyde: "De- Evolution"
- Previous message: Betov: "Re: Writing an Adventure game with HLA"
- In reply to: Betov: "Re: Evolution"
- Next in thread: Betov: "Re: Evolution"
- Reply: Betov: "Re: Evolution"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|