From: Evan Phoenix Date: 2008-05-11T15:14:54+09:00 Subject: Re: lambda, ->, haskell, and so on Not to throw the whole thread into a tizzy again, but why again is: ->(a,b) { } # stabby proc better than def(a,b) { } # anonymous def Seems like there has been continual talk of the positions of ->, but none (I may have missed it) on it existing at all (though, I'm quite aware of them existing before). IMHO, the anonymous def syntax is consistent, easy to type, and looks nice. - Evan On May 8, 2008, at 11:18 AM, ara.t.howard wrote: > > On May 8, 2008, at 10:04 AM, David A. Black wrote: >> Because if the arrow means "I'm pointing", then the {} should be a >> hash > > > > p :that => 'makes absolutely zero sense to me?' > > p :arrows => 'point to rhs, not hashes' > > m{ } > > m = {} > > m = %r{} > > m = %{} > > m = ->{} > > so i don't see the fact that the char or two before a {} meaning is > 'must be a hash' and standing on very firm ground. > > > anyhow - i'm in the minority so i'll bow out. having made my > argument that ruby is prettier than most so to heck with being like > the 'others' (sorry dave ;-)). > > a @ http://codeforpeople.com/ > -- > we can deny everything, except that we have the possibility of being > better. simply reflect on that. > h.h. the 14th dalai lama > > > >