• 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
Apologies - Re: is this a bug?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.

  • Prev by Date: Re: Quark style and character sheets -- is "normal" always spec number 1?
  • Next by Date: Re: Application file by ID
  • Previous by thread: Re: Quark style and character sheets -- is "normal" always spec number 1?
  • Next by thread: Atomic scripts
  • Index(es):
    • Date
    • Thread