comp.lang.ada
 help / color / mirror / Atom feed
* RE: Software Design
@ 2003-12-13  2:18 amado.alves
  2003-12-13 13:40 ` (see below)
  0 siblings, 1 reply; 8+ messages in thread
From: amado.alves @ 2003-12-13  2:18 UTC (permalink / raw)
  To: comp.lang.ada

<<
> "There are two ways of constructing a software design. One way is to
> make it so simple that there are obviously no deficiencies. And the
> other way is to make it so complicated that there are no obvious
>deficiencies." C. A. R. Hoare

It will be very interesting to see an operating system or at least
a (visual) text editor, which has obviously no deficiencies, and
at the same time is useful.

I'd like to propose new term "hoareware" for the kind of software
for which the quoted phrase is true.
>>

Cool name. But what's the denotation? I take it you mean (just) the second sentence in Hoare's paragraph. The "correctness by construction" series of papers by Peter Amey touch this (Google for it). Personally I want to believe. And I ponder this evidence from mathematics: that really very *complex* proofs are found flawless, i.e. absolutely correct, e.g. (the proofs of) Fermat's Last Theorem, the Four Coulor Theorem. So in sum I think I agree with what I think you're conjecturing: that for a piece of software to be useful it must be complex by necessity. But the lesson from mathematics says a complex thing can be shown correct. That is, what we need is not simple: it's a way to show (and experience) the complex correct. In a way, anti-Hoare. You know, "0% bugs."
 
(Sorry if I sound rambling. I am :-)
 
The one piece of complex software in the world that is flawless is perhaps TeX. But it took decades to show that. Not satisfactory. I dream of complex programs being proved correct just like complex mathematical proofs: by revision. Clearly one way to accomplish this is to write them in a rigourous and readable language and of course in very good style. Hence "100% Ada."
 



^ permalink raw reply	[flat|nested] 8+ messages in thread
[parent not found: <468D78E4EE5C6A4093A4C00F29DF513D04B82AFF@VS2.hdi.tvcabo>]
* Software Design
@ 2003-12-12 14:43 Robert Spooner
  2003-12-12 15:22 ` Peter Hermann
                   ` (2 more replies)
  0 siblings, 3 replies; 8+ messages in thread
From: Robert Spooner @ 2003-12-12 14:43 UTC (permalink / raw)


Al,

"There are two ways of constructing a software design. One way is to
make it so simple that there are obviously no deficiencies. And the 
other way is to make it so complicated that there are no obvious 
deficiencies." C. A. R. Hoare

I thought you might enjoy reading that.

Bob

-- 
                             Robert L. Spooner
                      Registered Professional Engineer
                        Associate Research Engineer
                   Intelligent Control Systems Department

          Applied Research Laboratory        Phone: (814) 863-4120
          The Pennsylvania State University  FAX:   (814) 863-7841
          P. O. Box 30
          State College, PA 16804-0030       rls19@psu.edu




^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2003-12-15 12:41 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-12-13  2:18 Software Design amado.alves
2003-12-13 13:40 ` (see below)
2003-12-15 12:41   ` Peter Amey
     [not found] <468D78E4EE5C6A4093A4C00F29DF513D04B82AFF@VS2.hdi.tvcabo>
2003-12-13 21:22 ` Alexandre E. Kopilovitch
  -- strict thread matches above, loose matches on Subject: below --
2003-12-12 14:43 Robert Spooner
2003-12-12 15:22 ` Peter Hermann
2003-12-12 15:55 ` (see below)
2003-12-12 19:49 ` Alexandre E. Kopilovitch

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