Apologies - Re: is this a bug?
Apologies - Re: is this a bug?
- Subject: Apologies - Re: is this a bug?
- From: Nigel Garvey <email@hidden>
- Date: Tue, 6 Aug 2002 16:35:43 +0100
I wrote on Tue, 6 Aug 2002 10:48:11 +0100, in reply to a posting from has:
>
By "clean, minimal code", do you mean not checking the length of
>
theString first? I usually find that looking before you leap is more
>
efficient than relying on an error block to bail you out. You may have
>
found another reason to adopt this approach.
My sincere apologies. I've just seen how this looks in the digest. It
wasn't meant to be a sneering attack on has. The first line was meant to
raise a smile, but the "look before you leap" metaphor was just a bad
choice of words in the context. May I rephrase that sentence?
"I usually find that checking for yourself (when this is possible) that
something exists or is in range is more efficient than simply going for
it in a 'try' block."
NG
_______________________________________________
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.