Re: Mixins, Multiple Inheritance, Interfaces
- From: Robert Martin <unclebob@xxxxxxxxxxxxxxxx>
- Date: Sun, 28 May 2006 12:19:13 -0500
On 2006-05-27 21:17:54 -0500, "Vladimir Levin" <vlad.levin@xxxxxxxxx> said:
I have to admit that it seems a shame that Java
did not implement mixins. Having now started using them in Ruby, I
think they're a really nice idea.
I quite agree. Java and C# missed a good bet when they ignored mixins. Granted, they are not easy to implement in statically typed languages. The "virtual inheritance" abortion in C++ is evidence enough of that. But even in C++ mixins were very useful. I miss them in Java.
--
Robert C. Martin (Uncle Bob) | email: unclebob@xxxxxxxxxxxxxxxx
Object Mentor Inc. | blog: www.butunclebob.com
The Agile Transition Experts | web: www.objectmentor.com
800-338-6716 |
.
- References:
- Mixins, Multiple Inheritance, Interfaces
- From: Vladimir Levin
- Mixins, Multiple Inheritance, Interfaces
- Prev by Date: Re: Design help needed (model view controller)
- Next by Date: Re: Abstract Factory of Factory??
- Previous by thread: Mixins, Multiple Inheritance, Interfaces
- Next by thread: sequence diagram for observer pattern
- Index(es):
Relevant Pages
|