I'd have thought allowing _ as a synonym for _1 would have been more aesthetically consistent. That's the path I went with when designing my CL #λ reader macro, personally.
I don't understand the point of it when the `.map(&:upcase)` syntax is shorter. This just seems like yet another syntactic sugar Rubyism that doesn't really add anything.
If it's an alternative to the `|x|` syntax when using only one block variable, then I like that.
ilvez|1 year ago
BoingBoomTschak|1 year ago
rubyfan|1 year ago
JasserInicide|1 year ago
If it's an alternative to the `|x|` syntax when using only one block variable, then I like that.
Trasmatta|1 year ago
The `&:` doesn't work in that context
graypegg|1 year ago
ciconia|1 year ago
https://www.youtube.com/watch?v=RZvsGdJP3ng
zachrose|1 year ago
prh8|1 year ago