> Symbol-to-proc, and the use of `&` to coerce things to procs:
>
> [1,2,3,4,5].select(&:odd?)

personally I have never liked this.

It is one of those idioms where you have to know what it does to know
what it does. I prefer readability over terseness every time.

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby 
or Rails Oceania" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/rails-oceania?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to