From: Robert Klemme Date: 2005-08-11T23:41:11+09:00 Subject: Re: Java/C# "interface" in Ruby ? Austin Ziegler wrote: > On 8/11/05, Peter Fitzgibbons > wrote: >> This is a newbie question. >> Is there anything in Ruby that is equivalent to the Java/C# >> "interface". > > Depends. The standard answer is "thank ghu, no." There are some > third-party implementations on the RAA, but you don't need them. Agree. > Mixins work better than "interfaces" ever will. I beg to differ here: mixin modules provide implementaitions while interfaces just define method signatures. IMHO mixin modules are better compared to multiple inheritance or reuse. Kind regards robert