What would Squeak be like without non-local returns
Andreas Raab
andreas.raab at gmx.de
Wed Nov 7 01:55:22 UTC 2007
Igor Stasenko wrote:
> On 07/11/2007, Rob Withers <reefedjib at yahoo.com> wrote:
>> E states that non-local returns are bad and we are seeing th implications of
>> that statement. Our candidate solution of mixing non-local returns and
>> eventual refs is not pretty.
>
> Yeah, but we talking about Smalltalk, not E. Maybe they are bad for E,
> but why they should be bad for smalltalk? :)
Indeed. And as a matter of fact I can't recall that particular
statement. Who said it and in what context? The main rule that matters
to E (for many reasons) is about globally mutable state which is a
complete no-no. But non-local returns? The only issue I can imagine with
this is that code could conceivably "escape" from an evaluation which
may make it harder for auditing but that's about all I can see.
Cheers,
- Andreas
More information about the Squeak-dev
mailing list
|