Fwd: [Tutor] using exceptions to implement case/switch?

Max Noel maxnoel_fr at yahoo.fr
Fri Oct 15 22:51:48 CEST 2004


(sigh... Forgot to click "reply to all". It'd be more practical if that 
list set a reply-to header IMO...)

Begin forwarded message:

> From: Max Noel <maxnoel_fr at yahoo.fr>
> Date: October 15, 2004 21:42:37 BST
> To: Bill Mill <bill.mill at gmail.com>
> Subject: Re: [Tutor] using exceptions to implement case/switch?
>
>
> On Oct 15, 2004, at 21:36, Bill Mill wrote:
>
>> Bill,
>>
>> I think you've misunderstood the example; pardon me if I've
>> misunderstood you in turn, but Kent's dispatcher will run the
>> functions in the current namespace. No new processes or namespaces
>> will be created, making your lambda method redundant.
>>
>> Peace
>> Bill Mill
>> bill.mill at gmail.com
>
> 	I think he meant scope, not namespace. However IIRC lambda functions 
> have their own scope, like normal functions (not 100% sure of that, I 
> never use lambdas), thus the method is redundant either way.
>
> -- Wild_Cat
> maxnoel_fr at yahoo dot fr -- ICQ #85274019
> "Look at you hacker... A pathetic creature of meat and bone, panting 
> and sweating as you run through my corridors... How can you challenge 
> a perfect, immortal machine?"
>
>
-- 
maxnoel_fr at yahoo dot fr -- ICQ #85274019
"Look at you hacker... A pathetic creature of meat and bone, panting 
and sweating as you run through my corridors... How can you challenge a 
perfect, immortal machine?"



More information about the Tutor mailing list