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

  1. Path: sparky!uunet!dtix!oasys!roth
  2. From: roth@oasys.dt.navy.mil (Pete Roth)
  3. Newsgroups: comp.lang.pascal
  4. Subject: Re: BP/TP OOP is missing something...
  5. Message-ID: <27703@oasys.dt.navy.mil>
  6. Date: 19 Nov 92 20:34:29 GMT
  7. References: <dmurdoch.282.722020256@mast.queensu.ca> <10793@vice.ICO.TEK.COM>
  8. Reply-To: roth@oasys.dt.navy.mil (Pete Roth)
  9. Organization: The David Taylor Model Basin
  10. Lines: 22
  11.  
  12. In comp.lang.pascal, bobbe@vice.ICO.TEK.COM (Robert Beauchaine) writes:
  13. [...]
  14. >
  15. >  I'm not an advocate of multiple inheritance.  I think it has many
  16. >  uses, but I'm not sure it's essential to OO programming.  I can't
  17. >  actually say that I've ever needed to resort to it.
  18.  
  19. The one case I *almost* needed it was when trying to add something to
  20. the tvision hierarchy, without benefit of source code to allow direct
  21. modification. Like, checking what kind of TView object I was dealing with.
  22. If it was one of mine, I wanted it to do special things.
  23.  
  24. I used the TView Message facility and solved the problem. And now that Borland
  25. is packaging TVision source in with BP7, i'll have direct access.
  26.  
  27. Anyone else have a perceived need for Multiple Inheritance?
  28. How did you solve the problem?
  29.  
  30. regards, pete
  31. - - - - - - - - - - - - - - - - - - - - - - - - - -
  32. Peter N Roth      roth@oasys.dt.navy.mil
  33. You can take a horse to water, but a pencil must be lead.
  34.