What would Squeak be like without non-local returns
Ron at USMedRec.com
Wed Nov 7 13:55:49 UTC 2007
That is not quite right.
What would this return?
(It is the same thing).
> -----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]
> 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.
More information about the Squeak-dev