Xref: utzoo comp.lang.c++:6424 comp.object:913 Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!cs.utexas.edu!uunet!cimshop!davidm From: cimshop!davidm@uunet.UU.NET (David S. Masterson) Newsgroups: comp.lang.c++,comp.object Subject: Inheritance vs. Composition Message-ID: Date: 11 Feb 90 08:50:56 GMT Sender: davidm@cimshop.UUCP Organization: Consilium Inc., Mountain View, California. Lines: 14 I'm curious as to the reasons that one might use inheritance (derivation of a new object from the definition of an old object) and the reasons that one might use composition (wrapping multiple objects in another object). I have been getting definitions around my work area that tend to conflict with my own views and I'd like to build a body of evidence one way or the other in order to help make my own views understood. Anyone care to provide their definitions with examples as to how to apply their definitions? -- =================================================================== David Masterson Consilium, Inc. uunet!cimshop!davidm Mt. View, CA 94043 =================================================================== "If someone thinks they know what I said, then I didn't say it!"