• 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: applescript-users digest, Vol 2 #1016 - 10 msgs
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: applescript-users digest, Vol 2 #1016 - 10 msgs


  • Subject: Re: applescript-users digest, Vol 2 #1016 - 10 msgs
  • From: "Marc K. Myers" <email@hidden>
  • Date: Thu, 30 Aug 2001 12:34:06 -0400
  • Organization: [very little]

> Date: Thu, 30 Aug 2001 11:06:39 -0400
> Subject: Re: Skip a step in a repeat loop
> From: Arthur J Knapp <email@hidden>
> To: <email@hidden>
>
> I am so sick of looking at lines of AppleScript code that have 15 to 20
> tabs in front of them.

Isn't that why the gods invented handlers? ;-) When I was a programmer
I delighted in writing nested conditionals that were 300 lines long.
When I became a project leader and had to think of the downstream cost
of maintaining that mess I was ashamed of myself. Whenever indentation
is going to exceed five levels I simply put the inner stuff into a
handler. (It also leads to better logical design.)

Marc K. Myers <email@hidden>
http://AppleScriptsToGo.com
4020 W.220th St.
Fairview Park, OH 44126
(440) 331-1074

[8/30/01 12:33:41 PM]


  • Follow-Ups:
    • Re: applescript-users digest, Vol 2 #1016 - 10 msgs
      • From: John W Baxter <email@hidden>
  • Prev by Date: Re: New user
  • Next by Date: RE: AppleScript and Video Capture?
  • Previous by thread: Re: New user
  • Next by thread: Re: applescript-users digest, Vol 2 #1016 - 10 msgs
  • Index(es):
    • Date
    • Thread