From: marc@dumbcat.sf.ca.us (Marco S Hyman)
Subject: Re: Difference between inheritance and package use
Date: 24 Jun 91 03:32:35 GMT [thread overview]
Message-ID: <1065@dumbcat.sf.ca.us> (raw)
In-Reply-To: 1991Jun23.030631.8027@netcom.COM
In article <1991Jun23.030631.8027@netcom.COM> jls@netcom.COM (Jim Showalter) writes:
> Indeed. The problem with this is, if I'm trying to build a damned TRACTOR,
> why on earth would I want to have to drag around the entire tree of Things
> That Move Through Spacetime just to do so? Yes yes yes--I understand the
> notion of reuse, but I can reuse pistons and wristpins and all the
> subcomponents used to build a tractor (this, last time I looked, was sort
> of how most stuff WAS built), so in what way is this better or worse?
You're right. You don't want to drag around the entire tree ... I assume (oh
ohh) that you're getting the components for your TRACTOR from a library.
Building a library is hard. Check out "Designing C++ Libraries" in the USENIX
C++ Conference Proceedings, San Francisco, 1990, by James M. Coggins. I thing
the points he makes are somewhat language independent. In particular, that
comprehensive, monolithic class libraries are a bad thing AND that a toolkit
of tiny classes is also a bad thing.
I can read "PACKAGE" for "class." Something in between is needed.
// marc
--
// home: marc@dumbcat.sf.ca.us pacbell!dumbcat!marc
// work: marc@ascend.com uunet!aria!marc
next prev parent reply other threads:[~1991-06-24 3:32 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
1991-06-22 3:53 Difference between inheritance and package use 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 [this message]
-- strict thread matches above, loose matches on Subject: below --
1991-06-21 22:46 Mike Miller
1991-06-22 1:31 ` Jim Showalter
1991-06-23 13:59 ` Alan Knight
1991-06-23 18:51 ` Jim Showalter
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
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox