From: Logan Capaldo Date: 2006-06-16T14:37:08+09:00 Subject: Re: Does each over an array bring a counter/index with it? On Jun 15, 2006, at 7:57 AM, Matthew Harris wrote: > Ruby's mix-ins are closer to interfaces than they are inheritance. > Inheritence implies subclassing, most of the time. Interfaces provide typing. Inheritance provides typing and implementation Mixins provide implementation (and typing in Ruby anyway, but they don't _have_ to). I would say Mixins are closer to inheritance than interfaces (esp. in a "duck-typed" language).