[Pharo-dev] Closure vs BlockClosure

Clément Bera bera.clement at gmail.com
Thu Apr 17 11:28:24 EDT 2014

2014-04-17 6:57 GMT-07:00 Sebastian Sastre <sebastian at flowingconcept.com>:

> On Apr 17, 2014, at 10:35 AM, Alexandre Bergel <alexandre.bergel at me.com>
> wrote:
> the whole community of programming language call a closure a closure.
> Calling a block what is actually a closure
> javascript is teaching every day to thousands what a real Closure is every
> day, so yeah that would be probably better
> Javascript closures are different from Smalltalk BlockClosure, they do not
support non local return. This extra feature allows smalltalk Closures to
be upgraded from just Closure to BlockClosure to avoid any confusion with
javascript closures (or people would think they are the same).
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.pharo.org/pipermail/pharo-dev_lists.pharo.org/attachments/20140417/3abc8855/attachment-0002.html>

More information about the Pharo-dev mailing list