[Squeak-e] Are Handlers Dynamically Scoped? (was: Comments on Lex's "Object as Capabilities in Squeak")

Mark S. Miller markm at caplet.com
Mon Feb 3 01:38:01 CET 2003


At 12:25 AM 2/3/2003 Monday, cg at cdegroot.com wrote:
>Allen Wirfs-Brock <squeak-e at lists.squeakfoundation.org> said:
>>However, I don't know that I'm prepared to argue that resumable exceptions 
>>are essential (rather than just useful).
>>
>Which brings us back at the Turing completeness argument of being
>essential ;-). I'm prepared to argue that it allows for separation of
>concerns in a way that is very hard otherwise (like asking the user to
>retry an operation - a one-liner in Smalltalk, nigh impossible in Java).
>This sort of 'clean code' functionality *is* important.

Could you please explain this example in enough detail that I could try 
rewriting it using only lexical scoping?


----------------------------------------
Text by me above is hereby placed in the public domain

        Cheers,
        --MarkM



More information about the Squeak-e mailing list