From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-0.8 required=5.0 tests=BAYES_00,INVALID_DATE autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f891f,bf2f30a0886f0d6c X-Google-Attributes: gidf891f,public X-Google-Thread: 103376,bf2f30a0886f0d6c X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 1993-03-23 23:42:04 PST Xref: sparky comp.lang.ada:4774 comp.lang.misc:4469 Path: sparky!uunet!munnari.oz.au!goanna!ok From: ok@goanna.cs.rmit.oz.au (Richard A. O'Keefe) Newsgroups: comp.lang.ada,comp.lang.misc Subject: Re: Classes vs Tagged Types - Terminology Keywords: classes modules packages inheritance tagged types Message-ID: <17255@goanna.cs.rmit.oz.au> Date: 24 Mar 93 07:42:04 GMT References: Followup-To: comp.lang.ada Organization: Comp Sci, RMIT, Melbourne, Australia Date: 1993-03-24T07:42:04+00:00 List-Id: In article , chl@clw.cs.man.ac.uk (Charles Lindsey) writes: ... > CLASSes come in two flavours: > Without INHERITANCE > With INHERITANCE ... > It is generally agreed that you need INHERITANCE to do any serious > "Object Oriented Programming". Where have you _been_, mate? There are quite a few OO languages based on delegation rather than inheritance. There are good arguments each way, and the issue is far from settled. The "Actor" model is based on delegation. SELF is based on delegation, and is available free. Several concurrent object-oriented languages are based on delegation. (Delegation is where an object that elects not to handle a method call directly hands it off to another object, not to itself viewed as belonging to another type.)