home *** CD-ROM | disk | FTP | other *** search
- Xref: sparky comp.lang.ada:3280 comp.object:4236
- Newsgroups: comp.lang.ada,comp.object
- Path: sparky!uunet!zaphod.mps.ohio-state.edu!darwin.sura.net!Sirius.dfn.de!Urmel.Informatik.RWTH-Aachen.DE!rwthi3!jubo
- From: jubo@rwthi3.informatik.rwth-aachen.de (Juergen Boerstler)
- Subject: Re: OOD, Ada, and Inheritance
- Message-ID: <jubo.721903736@rwthi3>
- Sender: news@Urmel.Informatik.RWTH-Aachen.DE (Newsfiles Owner)
- Nntp-Posting-Host: john
- Organization: Rechnerbetrieb Informatik / RWTH Aachen
- References: <mmaccorm.47@fox.nstn.ns.ca> <2169@snap> <1992Nov9.145313.18741@cis.ohio-state.edu> <1992Nov9.183028.4680@lth.se>
- Date: 16 Nov 92 08:48:56 GMT
- Lines: 49
-
- dag@control.lth.se (Dag Bruck) writes:
-
- >In <comp.lang.ada,comp.object> 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 * *
-