Julio, my man, you have just inspired me to learn Perl. That is awesome.
I personally love the Hash syntax.

{
  'start' => 'end'
}.each{|target, destination| `ln -s #{target} #{destination}` }

{
  Klass => :method
}.collect{|k,m| k.send(m) }

It's just a beautiful way of signifying all sorts of things. Though Obie beat
me to it <http://www.hashrocket.com/>. Similarly, I also like how Ruby only
has two standard implementations of collections, not
11<http://java.sun.com/j2se/1.4.2/docs/api/java/util/Collection.html>
.

On Tue, Mar 10, 2009 at 8:06 PM, Perryn Fowler <[email protected]> wrote:

>
> > 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.
>
> >
>


-- 
chrislloyd.com.au

--~--~---------~--~----~------------~-------~--~----~
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