comp.lang.ada
 help / color / mirror / Atom feed
From: jls@netcom.COM (Jim Showalter)
Subject: Re: Difference between inheritance and package use
Date: 23 Jun 91 18:51:11 GMT	[thread overview]
Message-ID: <1991Jun23.185111.24706@netcom.COM> (raw)
In-Reply-To: 1991Jun23.135921.19166@cunews.carleton.ca

]>>Which of these is better? Well, there certainly does seem to
]>>be a lot of argument about it. We know more about the first

]>I hardly see that these are contradictory or exclusive.  This is like
]>having an argument in cooking about which is better, cooking things or
]>mixing them together.

Read on. I later point out that arguing over which is
better, inheritance or composition (thanks for the term
"composition", by the way) is as dumb as arguing over
nature vs nurture, or any other black-and-white argument
in a world of grey.

]>Careful, you're starting to use "the world can be divided into two
]>kinds of people" arguments.  Soon somebody will be claiming that
]>preference for inheritance or composition will be based on what part
]>of your brain you use more often.

That would be silly--everybody knows that the real indicator
is not brain usage but, rather, one's astrological sign.

]>   A tractor does not share much interface with a wheel or an engine.
]>Describing a tractor as inheriting from Wheel and Engine, would be
]>stupid.

Agreed, stupid it would be. It would also, by the way, be
a great example of multiple inheritance. ;-)
-- 
*** LIMITLESS SOFTWARE, Inc: Jim Showalter, jls@netcom.com, (408) 243-0630 ****
*Proven solutions to software problems. Consulting and training on all aspects*
*of software development. Management/process/methodology. Architecture/design/*
*reuse. Quality/productivity. Risk reduction. EFFECTIVE OO usage. Ada/C++.    *

  reply	other threads:[~1991-06-23 18:51 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1991-06-21 22:46 Difference between inheritance and package use Mike Miller
1991-06-22  1:31 ` Jim Showalter
1991-06-23 13:59   ` Alan Knight
1991-06-23 18:51     ` Jim Showalter [this message]
1991-06-23 22:02       ` Milt Ratcliff
1991-06-23 20:16     ` Philip Machanick
1991-06-24 19:33 ` Douglas S. Gray
1991-06-24 20:39   ` Rob Spray
1991-06-25 16:04     ` Douglas S. Gray
1991-06-25 19:52   ` Jim Showalter
  -- strict thread matches above, loose matches on Subject: below --
1991-06-22  3:53 Chuck Shotton
1991-06-23  3:06 ` Jim Showalter
1991-06-23  8:38   ` Orville R. Weyrich
1991-06-24  3:32   ` Marco S Hyman
replies disabled

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