Link Details

Votes don't roll over at the end of the month! Login and vote now.
Link 89632 thumbnail
User 1 avatar

By rick
via mcdonaldland.info
Published: Jun 24 2008 / 08:27

Closures (aka Blocks) are essentially blocks of code that can be passed as arguments to a function or method. Unlike method pointers, anonymous classes, and other similar things, closures have the unique ability to be able to see the value of variables in the same scope they were created in.
  • 18
  • 2
  • 1713
  • 781

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.