From: Timothy Hunter Date: 2006-08-22T06:38:58+09:00 Subject: Re: Why Does Hash Apparently Reorder Its Internal Representation And Other Associated Ponderings Austin Ziegler wrote: > On 8/21/06, Tim Hunter wrote: >> Just Another Victim of the Ambient Morality wrote: >> > Is there a reason why you don't simply inheret from Hash, or is >> this >> > just another one of those There's More Than One Way To Do It >> scenarios? >> "Favor composition over inheritance" - Design Patterns >> http://www.artima.com/lejava/articles/designprinciples4.html > > Which is ... questionable advice in Ruby. Since mixins are a *form* of > inheritance. > > -austin Interesting. And I've read on this list many times that inheriting from a builtin class like Hash is A Bad Thing. Are you saying that I should stop feeling guilty for deriving Magick::Image from Array? :-)