From: Jim Weirich Date: 2002-09-30T13:08:56+09:00 Subject: Re: thoughts on typelessness >>>>> "Gavin" == Gavin Sinclair writes: Gavin> Ruby's mixins have similar features to Java interfaces, but Gavin> they are more flexible, and don't play any specification Gavin> role. Also, Ruby classes don't need any interface Gavin> description to be able to plug-n-play; they just need to Gavin> support the rigth methods at the right time. Interesting ... I've always considered Ruby mixins to be the exact *opposite* of Java interfaces. Interfaces provide interface without implementation. Mixins provide implemenation, but aren't required for interface. Just my point of view. -- -- Jim Weirich jweirich@one.net http://w3.one.net/~jweirich --------------------------------------------------------------------- "Beware of bugs in the above code; I have only proved it correct, not tried it." -- Donald Knuth (in a memo to Peter van Emde Boas)