Mixin advantage

Hi.

Please proofread whether the following statement (written by me) about
Mixin in Ruby is true:

“Mixin is the way to incorporate certain functionalities into a class
without messing up inheritance hierarchy. Especially, Mixin in Ruby is
a clever way of implementation inheritance.”

I’ve seen no article mentioning implementation inheritance when
explaining mixin though I believe it is especially in contrast with
interface inheritance.

Sincerely,
Minkoo S.

On 2/5/07, Minkoo S. [email protected] wrote:

Hi.

Please proofread whether the following statement (written by me) about
Mixin in Ruby is true:

“Mixin is the way to incorporate certain functionalities into a class
without messing up inheritance hierarchy. Especially, Mixin in Ruby is
a clever way of implementation inheritance.”

… multiple inheritance…

The rest is difficult to judge and I am not qualified to make a strong
statement.
But be aware that even Mixins can be confusing for the unwary sometimes
there was a recent thread about it.

I’ve seen no article mentioning implementation inheritance when

explaining mixin though I believe it is especially in contrast with
interface inheritance.

Sincerely,
Minkoo S.

Cheers
Robert