comp.lang.ada
 help / color / mirror / Atom feed
From: mole-end!mat@uunet.uu.net
Subject: Re: OOD, Ada, and Inheritance
Date: 7 Nov 92 01:25:34 GMT	[thread overview]
Message-ID: <1992Nov7.012534.27855@mole-end.matawan.nj.us> (raw)

In article <1992Nov5.190921.21374@sei.cmu.edu>, wellerd@ajpo.sei.cmu.edu (David
 Weller) writes:
> In article <mmaccorm.47@fox.nstn.ns.ca> mmaccorm@fox.nstn.ns.ca (Mike Mac Cor
mack) writes:
> >If Ada software is being designed using OOA and OOD, should inheritance be 
> >avoided (or prohibited) in the design process, as Ada does not provide 
> >inheritance? 
 
> ...  the Space Station Verification and Training Facility, is
> applying both OOA and OOD.  It is definitely a non-trivial project, ...
 
> Our inheritance is "manual", ... pass-through calls and composition
> to simulate "real" inheritance.  ...  we intend to quickly
> transition to Ada 9X, ...  In the 30 year life of this project, we
> we felt that [this] would give bigger payoffs than [ignoring inheritance].
 
> It seems silly to sacrifice a design to fit in a current language.
> Especially when you know that language will support those
> "prohibited" features in about 2 years.

I'd think that you'd want to distinguish between inheritance that models
the problem, inheritance that models the solution, and inheritance as
an implementation tool.

Inheritance that models the problem is probably worth staying with, even
at a high present cost and a high risk of subtle differences between your
`simulation' and the actual feature.

Inheritance that models the solution is probably economical only if it
has a very high present value and if it will be flexible enough to be
reimplemented cheaply with whatever version of inheritance is added to
the language.

Inheritance as an implementation tool is probably not worthwhile unless
it confers a very strong and very specific architectural advantage.

(Just my $0.02 worth ...)
-- 
 (This man's opinions are his own.)
 From mole-end				Mark Terribile

 mat@mole-end.matawan.nj.us, Somewhere in Matawan, NJ

             reply	other threads:[~1992-11-07  1:25 UTC|newest]

Thread overview: 23+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1992-11-07  1:25 mole-end!mat [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 20:25 dog.ee.lbl.gov!network.ucsd.edu!usc!zaphod.mps.ohio-state.edu!cis.ohio-st
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-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