• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Why put all handlers at the top of the script?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


References: 
 >Why put all handlers at the top of the script? (From: "S. J. Cunningham" <email@hidden>)
 >Re: Why put all handlers at the top of the script? (From: Ray Robertson <email@hidden>)

  • Prev by Date: Re: Why put all handlers at the top of the script?
  • Next by Date: Re: Why put all handlers at the top of the script?
  • Previous by thread: Re: Why put all handlers at the top of the script?
  • Next by thread: Re: Why put all handlers at the top of the script?
  • Index(es):
    • Date
    • Thread