🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.specification
Article #142

How does formal specification tie in with OOD/OOP?

#142
From: Stuart Hungerford
Date: Wed, 11 Jul 1990 06:37
25 lines
1559 bytes
I have recently begun to explore the worlds of OOD and OOP and in doing so
the same question keeps occuring to me: How does formal specification
tie in with OOD?

I'm aware of the benefits of rigorous specification for functionally
oriented design so how many of these benefits carry across to OOD?  I'm
not sure how a specification approach would cope with OOD issues like
name clashes in multiple inheritance, polymorphism, etc etc.  If you
have seen any papers, articles, or books describing specification
approaches for OOD/OOP I'd really like to hear about them.

I like the approach taken in Eiffel where class invariants and pre/post 
conditions are used in an attempt to formalize the behaviour of a class to its 
clients and descendants, however these expressions are often couched in terms
of implementation features (which you can see but may not be able to use).

I wonder how appropriate this "look but can't touch" type of specification 
is to OOD in general. 

Thanks if you can enlighten me,


				Stuart Hungerford.
				stuarth@arp.anu.oz.au 
Technical Details
Message-ID: <1990Jul11.063711.10920@arp.anu.oz.au>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!rutgers!cs.utexas.edu!swrinde!zaphod.mps.ohio-state.edu!samsung!munnari.oz.au!csc!csc3.anu.oz!neptune!stuarth

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!rutgers!cs.utexas.edu!swrinde!zaphod.mps.ohio-state.edu!samsung!munnari.oz.au!csc!csc3.anu.oz!neptune!stuarth
From: stuarth@arp.anu.oz.au (Stuart Hungerford)
Newsgroups: comp.specification
Subject: How does formal specification tie in with OOD/OOP?
Message-ID: <1990Jul11.063711.10920@arp.anu.oz.au>
Date: 11 Jul 90 06:37:11 GMT
Distribution: usa
Organization: Automated Reasoning Project, ANU, Australia
Lines: 25