comp.lang.ada
 help / color / mirror / Atom feed
From: dog.ee.lbl.gov!network.ucsd.edu!usc!zaphod.mps.ohio-state.edu!cis.ohio-st ate.edu!elephant.cis.ohio-state.edu!weide@ucbvax.Berkeley.EDU  (Bruce Weide)
Subject: Re: OOD, Ada, and Inheritance
Date: 2 Dec 92 20:25:22 GMT	[thread overview]
Message-ID: <1992Dec2.202522.2335@cis.ohio-state.edu> (raw)

In article <knight.723308314@cunews> knight@mrco.carleton.ca (Alan
Knight) writes:
>In <1992Nov30.230312.8279@cis.ohio-state.edu>
weide@elephant.cis.ohio-state.edu (Bruce Weide) writes:
>>>: Can someone give me a good
>>>: example of a case where one wants to have multiple implementations for
>>>: SIMILAR but NOT IDENTICAL abstract behaviors, AND for which this
>>>: abstract behavior is specified formally and in implementation-neutral
>>>: terms (or at least could be in principle)? ...
>>>: As part of the example I would, of
>>   ----------------------------------
>>>: course, expect to see the abstract specification of that part of their
>>   ----------------------------------------------------------------------
>>>: behavior that these different implementations would all have in
>>   ---------------------------------------------------------------
>>>: common.
>>   -------
>
>OK, here are 3, and although I do not provide the abstract
>specification I think it is clear for all of them that such a
>specification could exist. Two of them are quite general, while the
>third is domain-specific.

Good try!  But at least as I understand the I/O and matrix algebra
examples it should be the case that, if you actually write the
abstract specification that you claim it is "clear" could exist, you
will no doubt find that the behaviors of the various multiple
implementations are IDENTICAL.  I'm not sure what you mean by the
finite element example because I don't know enough about that
application to comment intelligently.  (I know, a lot of you are
probably saying this applies to the other examples, too. :-)

The point is that we certainly want to permit multiple implementations
of the SAME abstract behavior.  Alan's examples are good testimony to
that.  But what do we mean by "similar" abstract behavior?  Without
writing down precisely what behaviors we're talking about, I don't see
how we can answer this question.

So I again ask for examples, rephrasing the question to try to clarify
the issue I'm asking about.  Can someone give a good example where
"slightly different" abstract behaviors ARE ACTUALLY SPECIFIED, yet
where it makes sense to want to consider as EQUIVALENT various
implementations that exhibit these different behaviors?  And, of
course, to characterize what is meant by such behaviors being
"similar" ("slightly different") without being identical?

Cheers,
    -Bruce

             reply	other threads:[~1992-12-02 20:25 UTC|newest]

Thread overview: 23+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1992-12-02 20:25 dog.ee.lbl.gov!network.ucsd.edu!usc!zaphod.mps.ohio-state.edu!cis.ohio-st [this message]
  -- strict thread matches above, loose matches on Subject: below --
1992-12-04 20:49 OOD, Ada, and Inheritance Bruce Weide
1992-12-04  8:54 cis.ohio-state.edu!zaphod.mps.ohio-state.edu!darwin.sura.net!paladin.amer
1992-12-03 21:19 dog.ee.lbl.gov!overload.lbl.gov!agate!usenet.ins.cwru.edu!magnus.acs.ohio
1992-12-02 14:58 pipex!bnr.co.uk!bnrgate!nott!cunews!cunews!knight
1992-11-20 20:28 klamath.cs.washington.edu!chambers
1992-11-17 20:37 dog.ee.lbl.gov!pasteur!agate!usenet.ins.cwru.edu!magnus.acs.ohio-state.ed
1992-11-16 15:09 eru.mt.luth.se!lunic!sunic!mcsun!uknet!comlab.ox.ac.uk!ajs
1992-11-16  8:48 cis.ohio-state.edu!zaphod.mps.ohio-state.edu!darwin.sura.net!Sirius.dfn.d
1992-11-13 22:45 klamath.cs.washington.edu!chambers
1992-11-13 20:37 Bruce Weide
1992-11-11  4:20 sun-barr!cs.utexas.edu!swrinde!zaphod.mps.ohio-state.edu!darwin.sura.net!
1992-11-10 20:58 sun-barr!cs.utexas.edu!natinst.com!news.dell.com!milano!cobweb.mcc.com!br
1992-11-09 18:56 Ralph Johnson
1992-11-09 18:30 eru.mt.luth.se!lunic!sunic!lth.se!newsuser
1992-11-09 16:36 Jorge Luis Diaz-Herrera
1992-11-09 14:53 think.com!sdd.hp.com!zaphod.mps.ohio-state.edu!cis.ohio-state.edu!elephan
1992-11-07 18:49 John Goodsen
1992-11-07  1:25 mole-end!mat
1992-11-06 20:13 John Goodsen
1992-11-06  9:00 agate!doc.ic.ac.uk!uknet!root44!hrc63!mrcu!paj
1992-11-05 19:20 David Emery
1992-11-05 19:09 saimiri.primate.wisc.edu!zaphod.mps.ohio-state.edu!cis.ohio-state.edu!new
replies disabled

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