Re: Wind Chill (tell block issue)
Re: Wind Chill (tell block issue)
- Subject: Re: Wind Chill (tell block issue)
- From: Ken Grimm <email@hidden>
- Date: Sat, 02 Mar 2002 15:49:36 -0600
On 3/2/02 2:38 PM, ehsan saffari at email@hidden didst forever and
always commit to the digital human communication archive:
>
> PS - I'm still waiting to hear from Paul why wrapping the script in a Finder
>
> Tell block isn't good technique...
In my experience, it has been a very bad idea to wrap *anything* in a tell
block if not necessary. I got timeout errors, the ("doofus" doesn't
understand "gallant" command) class of errors, and all kinds of misc.
headaches -- way too much unnecessary time spent with the
deer-in-the-headlights stare, scratch bald spot debugging techniques. Trying
to figure out a script I wrote years ago was made more difficult when I used
to use that kind of coding (see, I am somewhat capable of learning from you
guys).
Really looking at the task and breaking out code to address only the
application at hand made debugging and future reading of the code MUCH
easier, plus dual benefits of greater reliability and speed were realized.
I now use tell blocks only when absolutely necessary, and design the script
with that in mind. It has made my life much easier. While it may not
necessarily be "bad" technique to use tell blocks when not necessary, it is
definitely "good" technique to not do so.
My 33 cents worth (2 cents adjusted for inflation),
Ken
_______________________________________________
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.