From: Chad Perrin Date: 2007-03-22T03:10:37+09:00 Subject: Re: does Ruby not support multiple "initialize" methods for On Wed, Mar 21, 2007 at 10:30:56AM +0900, Nando Sanchez wrote: > > Hi Chad! I don't think Ruby "lacks" anything, it's just that it has a > different way of doing things. It's a trade-off between the flexibility > of a dynamic language and some other things like methods with same name > and different parameters (how are you going to distinguish between one > method that uses a string and an integer and another one that uses an > integer and a hash, if you don't have types defined at the parameter > level?). If you want to do things "like Java" or "like C++", then I > think you should open your mind and try to do things in a different way, > in a rubbish way. Trust me -- I have no interest in shoehorning anything into a Java or C++ mold. That wasn't my point. -- CCD CopyWrite Chad Perrin [ http://ccd.apotheon.org ] "The first rule of magic is simple. Don't waste your time waving your hands and hopping when a rock or a club will do." - McCloctnick the Lucid