What would Squeak be like without non-local returns
Ron Teitelbaum
Ron at USMedRec.com
Wed Nov 7 13:55:49 UTC 2007
Hi Ralph,
That is not quite right.
What would this return?
[^3] fork.
^4.
(It is the same thing).
Ron Teitelbaum
> -----Original Message-----
> From: squeak-dev-bounces at lists.squeakfoundation.org [mailto:squeak-dev-
> bounces at lists.squeakfoundation.org] On Behalf Of Ralph Johnson
> Sent: Wednesday, November 07, 2007 6:26 AM
> To: The general-purpose Squeak developers list
> Subject: Re: What would Squeak be like without non-local returns
>
> Consider the code
>
> object eventual: [... ^3]
> ...
> ^4
>
> Depending on the missing code, it could return either 3 or 4. If not,
> something is very strange, and the language is no longer Smalltalk.
>
> If you get rid of non-local returns, the language is no longer
> Smalltalk. it might be a good language, but it is not Smalltalk.
>
> -Ralph
More information about the Squeak-dev
mailing list
|