Link Details

Link 123156 thumbnail
User 111696 avatar

By bloid
via joeygibson.com
Published: Oct 04 2008 / 22:07

I’ve been a big fan of closures for years. I was first introduced to them in Smalltalk, where they were just called blocks. Ruby has them and also calls them blocks. Java does not have them, though there are proposals (such as this one) to add them to a future version of the language. Groovy has them now, and while they aren’t as shiny as those in Ruby, they do work.
  • 12
  • 2
  • 2618
  • 686

Add your comment


Html tags not supported. Reply is editable for 5 minutes. Use [code lang="java|ruby|sql|css|xml"][/code] to post code snippets.