By scriptone
via weblog.raganwald.com
Published: Jul 01 2008 / 06:17
There’s a lot of features of Ruby that I like, but there are some that just drive me nuts like blocks not taking blocks and the ampersand operator. Raganwald did a great job of explaining blocks, procs, and the ampersand in this blog post: Explanation of Ruby’s Unary operator. I came away with the feeling, “Wow! It took that much explanation just to tell how to send blocks around?” If blocks were first-class citizens, Ruby would be more elegant.
Add your comment
Voters For This Link (12)
-
scriptone -
jeervin92 -
Motion Control -
deterb -
zis -
raganwald -
mswatcher -
whatever1 -
planetmcd -
projecktzero -
thinkingserious -
rick