Re: Why put all handlers at the top of the script?
Re: Why put all handlers at the top of the script?
- Subject: Re: Why put all handlers at the top of the script?
- From: "Stockly, Ed" <email@hidden>
- Date: Fri, 20 Mar 2015 17:00:19 +0000
- Thread-topic: Why put all handlers at the top of the script?
On 3/20/15, 9:18 AM, "Ray Robertson" <email@hidden> wrote:
>A long time ago, we were told that having them at the top *might* make
>the script slightly faster.
>
>I tried it for a while, but didn’t like it from an organizational
>standpoint. So my handlers are always at the bottom. Regardless, Script
>Debugger’s split view feature makes it easy to look at multiple sections
>at the same time.
I never noticed a difference either. If I don't have a run handler I have
the top level script at the top. If I do have a run or open handler, I put
those at the top.
_______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users
This email sent to email@hidden