home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #27 / NN_1992_27.iso / spool / comp / lang / ada / 3280 < prev    next >
Encoding:
Internet Message Format  |  1992-11-15  |  3.1 KB

  1. Xref: sparky comp.lang.ada:3280 comp.object:4236
  2. Newsgroups: comp.lang.ada,comp.object
  3. Path: sparky!uunet!zaphod.mps.ohio-state.edu!darwin.sura.net!Sirius.dfn.de!Urmel.Informatik.RWTH-Aachen.DE!rwthi3!jubo
  4. From: jubo@rwthi3.informatik.rwth-aachen.de (Juergen Boerstler)
  5. Subject: Re: OOD, Ada, and Inheritance
  6. Message-ID: <jubo.721903736@rwthi3>
  7. Sender: news@Urmel.Informatik.RWTH-Aachen.DE (Newsfiles Owner)
  8. Nntp-Posting-Host: john
  9. Organization: Rechnerbetrieb Informatik  /  RWTH Aachen
  10. References: <mmaccorm.47@fox.nstn.ns.ca> <2169@snap> <1992Nov9.145313.18741@cis.ohio-state.edu> <1992Nov9.183028.4680@lth.se>
  11. Date: 16 Nov 92 08:48:56 GMT
  12. Lines: 49
  13.  
  14. dag@control.lth.se (Dag Bruck) writes:
  15.  
  16. >In <comp.lang.ada,comp.object> weide@elephant.cis.ohio-state.edu (Bruce Weide) writes:
  17. >>The questions about inheritance in Ada, and especially the responses
  18. >>about inheritance being "simulated" in Ada, are interesting.
  19.  
  20. >Following the argument that inheritance is not essential for OOP
  21. >because (1) it is most important in the analysis phase, and (2), it
  22. >can be simulated:
  23.  
  24. >There is no need for any module support in the programming language.
  25. >The modularization is made during the analysis phase, and procedure
  26. >and function names are sufficient to do the subroutine call.
  27.  
  28. >Anyone care to comment?
  29.  
  30. Yes: And, since it can be simulated all in Assembler, there is no need for
  31. new programming languages at all ;>).
  32.  
  33. >        -- Dag
  34.  
  35. Ok, let's get serious. People develop new programming language concepts to
  36. free their task from ever the same details. Therefore, we have procedures
  37. and so on, and do not need to simulate this concept (would you?). But, if
  38. you do not trust them, don't use them. It's the same with inheritance.
  39. Inheritance is an important concept in analysis and design (mostly used for
  40. subtyping purposes). A lot of people use it successfully in programming, and
  41. are satisfied with this concept. And the situation is (more as) the same for
  42. module concepts. If you don`t want to use them, don't do it.
  43.  
  44. There is also no need for cars. And, of course there are lots of
  45. contraindicators for using cars. And, there are lots of ways simulating the
  46. task "going from A to B" (walking, running, by bike, by train, ...).
  47.  
  48. -- jubo
  49. ****************************************************************************
  50. * Ju"rgen Bo"rstler             * e-mail:                                  *
  51. * RWTH Aachen                   *    jubo@rwthi3.informatik.rwth-aachen.de *
  52. * Lehrstuhl fuer Informatik III *                                          *
  53. * Ahornstrasse 55               *                                          *
  54. * W-5100 Aachen                 * phone: +49/ 241/ 80-21310                *
  55. * Germany                       * fax:               -21329                *
  56. ****************************************************************************
  57.  
  58. --
  59. ****************************************************************************
  60. * Ju"rgen Bo"rstler             * e-mail:                                  *
  61. * RWTH Aachen                   *    jubo@rwthi3.informatik.rwth-aachen.de *
  62. * Lehrstuhl fuer Informatik III *                                          *
  63.