return-from-lambda viewed as dangerous, good alternatives
Neal Gafter
neal at gafter.com
Thu Jan 7 14:55:45 PST 2010
On Thu, Jan 7, 2010 at 1:18 PM, Mike Swingler <swingler at apple.com> wrote:
> In all the mainstream languages that have adopted closures, "return" really
> means the least surprising thing.
>
If you're referring to languages such as Scala, Common Lisp, and Ruby,
you're right: they do provide transparency and have "return", and none of
the horrors Josh predicted have occurred.
More information about the lambda-dev
mailing list