On 12 Sep 2002, at 21:14, dblack / candle.superlink.net wrote: > > As Matz pointed out overloading would be in the spirit of Ruby > > Right, but that's the part I don't get :-) I'm picturing things like: > > def meth(Integer n, String s) > ... > def meth(Float f, String s) > ... > > and somewhere along the line I'm not clear on how that fits into the > spirit/design/philosophy of Ruby. David, as I understand it, of course you would still be able to do def meth(f, s) which would be equivalent to def meth(Object f, Object s) Only if you wanted to have a different behaviour dependend on the types of the arguments you would do something like def meth(Integer n, s) def meth(Float f, s) So it really would be an addon to current Ruby, not breaking any existing code. HTH Regards, Pit