From: Dave Thomas Date: 2000-12-30T12:44:07+09:00 Subject: [ruby-talk:8326] Re: My first impression of Ruby. Lack of overloading? (long) jstern@foshay.citilink.com (Josh Stern) writes: > Yukihiro Matsumoto wrote: > > >I'd add method overloading according their dynamic type of arguments, > >iff I can think of a specification which is affordable and consistent > >with rest of Ruby. But I have little hope about this issue. > > Well, just to throw something out there...perhaps there could be a > rule that methods with a special name, e.g. ending with the '|' > character, are actually looked up based on hashing the method name > plus the argument type ids? It'd have to be a fairly clever hash, as you'd have to be able to deal with subclasses. Tell me again: what problem are we trying to solve here? Dave