From: Dave Thomas Date: 2003-12-19T05:41:15+09:00 Subject: Re: Newbie questions On Dec 18, 2003, at 14:25, Austin Ziegler wrote: > On Thu, 18 Dec 2003 15:11:55 +0900, Jim Frapper wrote: >> - The ability to overload constructors. > > YAGNI. There is no method overloading at all in Ruby at this point -- > because Ruby isn't restricted by static typing, and in my experience, > it's > not necessary. See my port of MIME::Types or Text::Format for how > multiple > constructor forms can be provided in the singular mechanism -- and > it's not > even necessarily the preferred way in Ruby. > You might want to scan http://pragprog.com/pragdave/Practices/ConstructionMethods.rdoc,v for my take on this. Cheers Dave