From: Christian Neukirchen Date: 2006-07-16T02:52:49+09:00 Subject: Re: About MyClass#my_method "Jonas Pfenniger" writes: > On 14/07/06, transfire@gmail.com wrote: >> Jonas Pfenniger wrote: >> > MyClass#my_method would replace MyClass.instance_method(:my_method) >> >> It has it's merits. I have to agree, since we use the notation all the >> time. But it doesn't match up with what :: does. And if you change that >> you break a lot of code. But IMHO that shouldn;t count it out >> neccessarily. > > Yes but Matz said to optimize breakage for 2.0 so this might be worthwile. > I remember that lisp guy saying that ruby methods where not > first-class methods (didn't find the thread). Which is wrong, but such > shortcuts are nice for metaprogramming. Assuming you mean me, I dare you call me a "lisp guy". Thank you. ;-) I don't think instance_method is used often enough to justify it's own syntax. > Cheers, > zimbatm -- Christian Neukirchen http://chneukirchen.org