comp.lang.ada
 help / color / mirror / Atom feed
From: jer@peora.UUCP (J. Eric Roskos)
Subject: Re: What I miss... (really C, Ada, religion)
Date: Mon, 7-Oct-85 17:04:24 EDT	[thread overview]
Date: Mon Oct  7 17:04:24 1985
Message-ID: <1701@peora.UUCP> (raw)
In-Reply-To: 272@graffiti.UUCP

> I'd like to re-ask my question.  What do you do in a finished product in a
> high-risk environment when an unanticipated bug (anticipated errors will
> have been dealt with in both languages if the programmer is worth his pay)
> occurs?

Then, I'd like to re-answer it.  The idea here is that you want to try to
design your product in such a way that if errors occur, you will recover from
them.  Here there's sort of a problem with the term "unanticipated errors".
For example, suppose you have some flight-control system for a missile, and
an "unanticipated error" occurs, so the missile goes off course.  Well, you
would like, then, to have some other system monitoring the trajectory of
the missile, that says, "the missile is off course... I'll just disarm the
warhead, here", or maybe starts up a redundant guidance system, or something
like that.

The problem is that if you do this right, there shouldn't BE any unantic-
ipated errors; an unanticipated error would be something like if the
laws of physics quit working.  How well you design your system determines
how well you accomplish this; but the various forms of exception handling,
etc. that we have been discussing are supposed to make this easier by
allowing your program both to discover certain types of errors, and to remain
in control when these errors occur (rather than producing some error message
and halting, as some people have suggested).

As you said, in "both languages" (I don't remember what the other one was)
such a problem can be handled; the newer approaches (exception handlers and
the like) just try to make this easier, to make it less likely that the
programmer will do it wrong.
-- 
Shyy-Anzr:  J. Eric Roskos
UUCP: Ofc:  ..!{decvax,ucbvax,ihnp4}!vax135!petsd!peora!jer
     Home:  ..!{decvax,ucbvax,ihnp4}!vax135!petsd!peora!jerpc!jer
  US Mail:  MS 795; Perkin-Elmer SDC;
	    2486 Sand Lake Road, Orlando, FL 32809-7642

  reply	other threads:[~1985-10-07 21:04 UTC|newest]

Thread overview: 21+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <796@kuling.UUCP>
     [not found] ` <2580002@csd2.UUCP>
     [not found]   ` <191@graffiti.UUCP>
     [not found]     ` <568@unisoft.UUCP>
1985-09-29 18:21       ` What I miss... (really C, Ada, religion) Jan Steinman
1985-10-02  1:16         ` Eugene D. Brooks III
1985-10-03 20:14           ` William D Michael
1985-10-05 19:23             ` DARIN JOHNSON
1985-10-04 13:04           ` Re: What I miss... (really C, Ada, r rosen
1985-10-04 13:44           ` What I miss... (really C, Ada, religion) Jon Mauney
1985-10-05 15:17           ` Swamp Thing
1985-10-05 21:30           ` S.Rajeev
1985-10-06  6:04           ` Jan Steinman
1985-10-07 20:56           ` J. Eric Roskos
1985-10-02 16:04         ` Peter da Silva
1985-10-07 21:04           ` J. Eric Roskos [this message]
1985-10-09 18:56           ` Wayne Throop
1985-10-09 23:47           ` Peter Ludemann
1985-09-30 20:00       ` Subscript out-of-bounds detection Joe Orost
1985-10-06 20:54   ` What I miss... (really C, Ada, religion) Eugene D. Brooks III
1985-10-07 14:13   ` Karl Tombre
1985-10-11 12:59   ` J. Eric Roskos
1985-10-13  6:28   ` Barry Margolin
1985-10-16  5:46   ` systolic processor? wildstar
1985-10-21  2:26   ` Re: What I miss... (really C, Ada, religion) Richard Welty
replies disabled

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