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.
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
This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.