Path: utzoo!utgpu!news-server.csri.toronto.edu!rutgers!usc!wuarchive!uunet!mcsun!ukc!pyrltd!root44!hrc63!mrcu!paj From: paj@mrcu (Paul Johnson) Newsgroups: comp.object Subject: Re: Examples of Multiple Inheritance? Message-ID: <743@puck.mrcu> Date: 10 Dec 90 09:14:30 GMT References: <60700005@inmet> <980@culhua.prg.ox.ac.uk> <17562@neptune.inf.ethz.ch> Reply-To: paj@uk.co.gec-mrc (Paul Johnson) Organization: GEC-Marconi Research Centre, Great Baddow, UK Lines: 18 Summary: Expires: Sender: Followup-To: I think that this debate is missing the point. Neither MI or SI make simple examples easier to code. If you have fully analysed your problem and know what routines are to be called where then you can code in Pascal or C just as easily. The point about inheritance and polymorphism is that they contribute to code flexibility and reuse. When the requirements change (as they always do) then a well designed OO program is far superior because the existing abstract classes (what Meyer terms "deferred" classes) from which the actual classes inherit become the basis for new classes. MI allows the designer to increase the number of abstract classes in the system and thereby increases the flexibility of the system. Paul. -- Paul Johnson UUCP: !mcvax!ukc!gec-mrc!paj --------------------------------!-------------------------|------------------- GEC-Marconi Research is not | Telex: 995016 GECRES G | Tel: +44 245 73331 responsible for my opinions. | Inet: paj@uk.co.gec-mrc | Fax: +44 245 75244