From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.5-pre1 (2020-06-20) on ip-172-31-74-118.ec2.internal X-Spam-Level: X-Spam-Status: No, score=-0.5 required=3.0 tests=BAYES_05 autolearn=ham autolearn_force=no version=3.4.5-pre1 Date: 16 Nov 92 08:48:56 GMT From: cis.ohio-state.edu!zaphod.mps.ohio-state.edu!darwin.sura.net!Sirius.dfn.d e!Urmel.Informatik.RWTH-Aachen.DE!rwthi3!jubo@ucbvax.Berkeley.EDU (Juergen Boe rstler) Subject: Re: OOD, Ada, and Inheritance Message-ID: List-Id: dag@control.lth.se (Dag Bruck) writes: >In weide@elephant.cis.ohio-state.edu (Bruce Weide) writes: >>The questions about inheritance in Ada, and especially the responses >>about inheritance being "simulated" in Ada, are interesting. >Following the argument that inheritance is not essential for OOP >because (1) it is most important in the analysis phase, and (2), it >can be simulated: >There is no need for any module support in the programming language. >The modularization is made during the analysis phase, and procedure >and function names are sufficient to do the subroutine call. >Anyone care to comment? Yes: And, since it can be simulated all in Assembler, there is no need for new programming languages at all ;>). > -- Dag Ok, let's get serious. People develop new programming language concepts to free their task from ever the same details. Therefore, we have procedures and so on, and do not need to simulate this concept (would you?). But, if you do not trust them, don't use them. It's the same with inheritance. Inheritance is an important concept in analysis and design (mostly used for subtyping purposes). A lot of people use it successfully in programming, and are satisfied with this concept. And the situation is (more as) the same for module concepts. If you don`t want to use them, don't do it. There is also no need for cars. And, of course there are lots of contraindicators for using cars. And, there are lots of ways simulating the task "going from A to B" (walking, running, by bike, by train, ...). -- jubo **************************************************************************** * Ju"rgen Bo"rstler * e-mail: * * RWTH Aachen * jubo@rwthi3.informatik.rwth-aachen.de * * Lehrstuhl fuer Informatik III * * * Ahornstrasse 55 * * * W-5100 Aachen * phone: +49/ 241/ 80-21310 * * Germany * fax: -21329 * **************************************************************************** -- **************************************************************************** * Ju"rgen Bo"rstler * e-mail: * * RWTH Aachen * jubo@rwthi3.informatik.rwth-aachen.de * * Lehrstuhl fuer Informatik III * *