From: gabriele renzi Date: 2004-10-11T07:54:39+09:00 Subject: Re: ANN: Free-form-operators patch Markus ha scritto: > I agree with almost all of your post, except: > > On Sun, 2004-10-10 at 04:14, gabriele renzi wrote: > >>What I am afraid of is the interaction beetween different users's >>language extensions, in a space where name collision is more easy than >>in the method's one. > > > It's really no different than methods; the interpretation of the > operator is up to the receiver, exactly the same as with methods. > Operators are _already_ handled in the same way as methods. Sure, what I mean is: it is possible that people could implement Object#-> for,say, type conversion, and Integer#-> to build a range. It is harder to have an overlap of #converto_to and #upto. Short names (and I think operators should be short :) can easily cause problems, just think of the (now deprecated) Object#id.