tag:blogger.com,1999:blog-5964816804623588850.post4577321910307390845..comments2024-03-15T00:31:24.817-07:00Comments on Digithead's Lab Notebook: Principle of least surprise my assChristopher Barehttp://www.blogger.com/profile/01570188379488941406noreply@blogger.comBlogger2125tag:blogger.com,1999:blog-5964816804623588850.post-68912471770663752452010-04-05T10:51:59.296-07:002010-04-05T10:51:59.296-07:00Discussed on hacker news:
http://news.ycombinator...Discussed on hacker news:<br /><br />http://news.ycombinator.com/item?id=1241780Christopher Barehttps://www.blogger.com/profile/01570188379488941406noreply@blogger.comtag:blogger.com,1999:blog-5964816804623588850.post-42328607471118658042008-12-23T07:07:00.000-08:002008-12-23T07:07:00.000-08:00That doesn't look like seven different closure con...That doesn't look like seven different closure constructs to me. It looks like three different ways to pass and/or call a block, two different ways to create a Proc, then lambda and Method - four different constructs. I didn't know the differences between any them until I read <A HREF="http://www.robertsosinski.com/2008/12/21/understanding-ruby-blocks-procs-and-lambdas/" REL="nofollow">this article</A>, but now it seems fairly clear.Ryan Eiblinghttps://www.blogger.com/profile/04016825620238876896noreply@blogger.com