Gregory Brown
5/14/2009 3:07:00 AM
On Wed, May 13, 2009 at 11:03 PM, Daniel DeLorme <dan-ml@dan42.com> wrote:
> Yes, I know, and that was kind of my point. The to_proc conversion
> became popular because people want a shortcut notation for this common
> case, but IMHO map(&:foo) is way uglier than map{.foo}, and as a bonus yo=
u
> could even do map{.foo.bar} =A0:-)
I don't know. I think they're about the same in terms of looks, and
the former doesn't require changes to the parser.
-greg