Re: RFC 265 (v3) Interface polymorphism considered lovely
[email protected] (Piers Cawley) 02 Oct 2000 10:02:19 +0100
| Newsgroups | perl.perl6.language.objects |
|---|---|
| Message-ID | <[email protected]> |
David Grove <[email protected]> writes: > > Java is one language that springs to mind that uses interface > > polymorphism. Don't let this put you off -- if we must steal something > > from Java let's steal something good. > > Interface inheritance is probably the least dignified thing to steal > from Java. If we have true multiple inheritance, interfaces don't > apply. (As a C++ programmer, I've always had to consider the > interface OOP of Java and Delphi as flawed and incomplete. Whereas I've always thought of multiple inheritance as a complete pain in the arse in most cases. But then I started doing OO programming with Objective C on a NeXT which doesn't do multiple inheritance (or strict interface checking come to that). -- Piers