Newsgroups: comp.object,comp.lang.smalltalk,comp.lang.ada
Path: cantaloupe.srv.cs.cmu.edu!das-news2.harvard.edu!news4.ner.bbnplanet.net!news3.near.net!paperboy.wellfleet.com!news-feed-1.peachnet.edu!gatech!howland.reston.ans.net!news.sprintlink.net!news.wwa.com!rcm!rmartin
From: rmartin@rcmcon.com (Robert Martin)
Subject: Re: Has C++ had its day?
References: <NEWTNews.803919664.16092.sellers@sellers.sellers.com> <dewar.804000976@gnat> <Jan.Bytesmiths-2606951420580001@138.120.62.112>  <1995Jun27.121935.4921@merlin.hgc.edu> <NEWTNews.804269222.4596.sellers@sellers.sellers.com>
Organization: R. C. M. Consulting Inc. 708-918-1004
Date: Thu, 29 Jun 1995 15:35:21 GMT
Message-ID: <1995Jun29.153521.5115@rcmcon.com>
Lines: 20
Xref: glinda.oz.cs.cmu.edu comp.object:33903 comp.lang.smalltalk:25187 comp.lang.ada:31879

John Sellers <sellers@sellers.com> writes:

>A corollary of this would be, "Never use multiple 
>inheritance when single inheritance will do".  In my experience, 
>I haven't found a single case on the job that single inheritance 
>couldn't handle well.

In dyanmically typed language like Smalltalk, this is to be expected.
Smalltalk does not require inheritance for subtyping.  But static
language like Eiffel and C++ do.  So for them, multiple inheritance is
critically important.  And barely a single project goes by that does
not benefit from it.



-- 
Robert Martin       | Design Consulting   | Training courses offered:
Object Mentor Assoc.| rmartin@oma.com     |   OOA/D, C++, Advanced OO
2080 Cranbrook Rd.  | Tel: (708) 918-1004 |   Mgt. Overview of OOT
Green Oaks IL 60048 | Fax: (708) 918-1023 | Development Contracts.
