What would Squeak be like without non-local returns

Ralph Johnson johnson at cs.uiuc.edu
Wed Nov 7 11:26:06 UTC 2007


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