Re: Atomic scripts
Re: Atomic scripts
- Subject: Re: Atomic scripts
- From: Christopher Nebel <email@hidden>
- Date: Wed, 7 Aug 2002 10:35:44 -0700
On Wednesday, August 7, 2002, at 08:17 AM, Paul Skinner wrote:
On Wednesday, August 7, 2002, at 03:31 AM, Brennan wrote:
Paul Skinner <email@hidden> wrote
property parent : me
The effect of 'me' as parent is to short-circuit (literally) the
automatic redirection of handlers, that are not defined in the
script,
up the hierarchy of context.
Hmm. In the case of calling a handler that is not in the script, why
would this not lead to infinite recursion?
Because the AppleScript team codes well?
Nice of you to say so, Paul, but it's not relevant to this. It was
actually a design decision to explicitly detect circular references and
deal with them. Most languages don't bother, because the checks take a
noticeable amount of time and memory, and the standpoint that if
someone asks you to do an infinite amount of work with finite resources
they deserve what they get is not an entirely unreasonable one. :)
--Chris Nebel
AppleScript Engineering
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.