comp.lang.ada
 help / color / mirror / Atom feed
From: "W. Wesley Groleau x4923" <wwgrol@pseserv3.fw.hac.com>
Subject: Re: Use of DBC as "executable SRS": scaling problems
Date: 1997/07/31
Date: 1997-07-31T00:00:00+00:00	[thread overview]
Message-ID: <33E1089C.6A72@pseserv3.fw.hac.com> (raw)
In-Reply-To: 870209420.19031@dejanews.com


card@syr.lmco.com wrote:
> I do not think that using DBC as an "executable SRS" (SRS == Software
> (1) In a large and complex system, the number of preconditions and 
>     post-conditions in a complex class hierarchy could get extremely large. 

Although they didn't demand that it be "in the code", the inquiry board
did note
  " that the systems specification of the SRI does not indicate
    operational restrictions that emerge from the chosen
    implementation. Such a declaration of limitation, which should
    be mandatory for every mission-critical device, would have
    served to identify any non-compliance with the trajectory
    of Ariane 5. "
which to me means

1. given the requirements (ariane 4)
2. design and implement the solution (the code that failed)
3. document any restrictions which, though not requirements, are
   consequences of the chosen design.

While the results of step three are nearly guaranteed to be 
incomplete, for reasons already beat to death in this discussion,
Bertrand Meyer came close to saying (correctly) that the effort
of doing this _might_ have prevented the failure.  Where he goes 
too far is on two points (now I'm repeating old news):

1. He says "probably would have" instead of "might have"
2. If you're not doing this in Eiffel syntax, you're not
   really doing it.

Now the last sentence will undoubtedly draw "he never said that"
flames, so let me admit that (2) is an oversimplification of
his claims that only Eiffel _really_ has "design by contract"

----------------------------------------------------------------------
    Wes Groleau, Hughes Defense Communications, Fort Wayne, IN USA
Senior Software Engineer - AFATDS                  Tool-smith Wanna-be

Don't send advertisements to this domain unless asked!  All disk space
on fw.hac.com hosts belongs to either Hughes Defense Communications or 
the United States government.  Using email to store YOUR advertising 
on them is trespassing!
----------------------------------------------------------------------




  parent reply	other threads:[~1997-07-31  0:00 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1997-07-29  0:00 Use of DBC as "executable SRS": scaling problems card
1997-07-30  0:00 ` Nick Leaton
1997-07-31  0:00   ` Ken Garlington
1997-08-11  0:00     ` Nick Leaton
1997-08-11  0:00       ` Ken Garlington
1997-08-12  0:00         ` Jon S Anthony
1997-08-12  0:00         ` Nick Leaton
1997-08-12  0:00           ` Ken Garlington
1997-07-31  0:00 ` W. Wesley Groleau x4923 [this message]
1997-07-31  0:00   ` Al Christians
1997-07-31  0:00 ` Don Harrison
  -- strict thread matches above, loose matches on Subject: below --
1997-07-31  0:00 card
1997-07-31  0:00 ` Nick Leaton
1997-08-01  0:00 ` Don Harrison
1997-08-13  0:00 ` Lee Webber
replies disabled

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