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