home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!olivea!gossip.pyramid.com!pyramid!infmx!cshaver
- From: cshaver@informix.com (Craig Shaver)
- Newsgroups: comp.lang.c++
- Subject: Re: MI vs. SI
- Message-ID: <1993Jan21.205125.7963@informix.com>
- Date: 21 Jan 93 20:51:25 GMT
- References: <1993Jan20.022321.18020@borland.com> <1993Jan21.093918.3738@fmrco.uucp>
- Sender: news@informix.com (Usenet News)
- Organization: Informix Software, Inc.
- Lines: 42
-
- In article <1993Jan21.093918.3738@fmrco.uucp> pandrews@lovat.fmrco.com writes:
- >In article 18020@borland.com, pete@borland.com (Pete Becker) writes:
- >> In article <93019.090854IO70620@MAINE.MAINE.EDU> <IO70620@MAINE.MAINE.EDU> writes:
- ...
- >> >through the use of multiple inheritance.
- >>
- ...
- >> But that sort of problem isn't limited to multiple inheritance...
- >> -- Pete
- >>
- >Totally agree. Why oh why oh why (:-)) do folks have such a downer on MI? YES, I
- >suppose you can do the same stuff with SI, but thats like saying "I can get from
- >A to B by walking, why drive?" (well kind of). The point is MI is USEFUL. As people
- >have said before: "Use it for Mixins". There is too much design of classes that
- >can't be re-used for various reasons (private not protected members, standard not
- >virtual functions (esp. destructors), monolithic SI class libraries).
- >
- >If you want to see the best argument yet for MI, take a look at NIH (it uses SI). The
- >library would have been much more useful written as a set of Mixins. Programmers could
- >then decide for themselves which parts of the Object class they wanted in their
- >programs. (P.S. NIH was first written prior to MI).
- >
- >Anyway, enough ranting for now.
- >
- >(Needless to say, my opinions are my own)
- >
- >- Paul
- >
- >
- >---
- >---
- >Paul Andrews
- >
- >EMail Telephone
- >pandrews@lovat.fmrco.com +44-71-975-4723
-
- What about using delegation through class members?
-
-
- --
- Craig Shaver (cshaver@informix.com for now) (415)390-0654 (415)926-6407
- Productivity Group POB 60458 Sunnyvale, CA 94088
-