On Sep 7, 2009, at 1:08 PM, Gabriel Zachmann wrote:

It seems to me that Blocks in SL are exactly the same thing as "Closures" in Smalltalk -- is that correct?

Actually, Smalltalk calls them "blocks" too — that's where Obj-C, and Ruby, got the name from. (The Obj-C object model has always been very Smalltalk-inspired.) But yes, they're the same thing. They're also the same thing as function literals in JavaScript and lambdas in Python. It's been a very popular concept, going all the way back to 1960s' LISP.

—Jens_______________________________________________

Cocoa-dev mailing list ([email protected])

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to