From: Roger Pack Date: 2009-11-10T00:36:40+09:00 Subject: Re: RCR enumerable extra into core >> which is arguably less readable. >> Thoughts? > > At the same time, the merit of &:name over :name is that &:name does > tell you what's going on, once you know that the & in front of any > object (symbol or otherwise) in last-argument position means that the > object will be converted to a Proc and play the block role. Hmm. I suppose I'm of a slightly different opinion--to me list.map &:symbol is less clear than list.map(:symbol) If we were required to write list.map &:symbol.to_proc then I would be more easily convinced that list.map(:symbol) is too implicit. So for me it's implicit already. I'm not too worried about the run time slowdown...so many methods are already special cased...it doesn't seem to be a too large concern to the core guys... -r -- Posted via http://www.ruby-forum.com/.