comp.lang.ada
 help / color / mirror / Atom feed
From: dan@pokey.UUCP
Subject: bug-free programs
Date: Mon, 7-Oct-85 11:05:08 EDT	[thread overview]
Date: Mon Oct  7 11:05:08 1985
Message-ID: <260@pokey.UUCP> (raw)


   For anyone who is used to reading the horror stories in Software
Engineering News, the idea of bug-free large programs is a bit hard to
grapple with.  Large programs are so complex, and have so many states,
that exhaustive testing would take hundreds or thousands of years.
Even in the unlikely event that you do have a mechanical proof system,
that system is vulnerable to the input and output predicates for a given
code fragment.

   The important thing about Ada exceptions is that they include the
ability to trap constraint and range violations like the one which
would supposedly appear on the pilot's display.  Proper coding standards
will enforce the creation of programs in which these (unlikely but
possible) errors would be trapped and dealt with in an orderly way.

   Sure beats the heck out a C program that goes off the end of an array
and fires your ejection seat . . .

   -- Dan

                 reply	other threads:[~1985-10-07 15:05 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed
replies disabled

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