• 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: Using error handlers (was Re: HD name change for X)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Using error handlers (was Re: HD name change for X)


  • Subject: Re: Using error handlers (was Re: HD name change for X)
  • From: John W Baxter <email@hidden>
  • Date: Sat, 19 Jan 2002 02:17:04 -0800

At 22:40 -0500 1/17/2002, email@hidden wrote:
>The question I have is, will forcing errors introduce any sort of instability
>or bit rot into one's scripts/system? Or can I use such techniques freely
>without concern that I might be slowly breaking something under the surface?

Exceptions are not evil...nonetheless, you should ask yourself:
"Is there an alternative?" If "no," you're done: do it.

"is there a more clear way to do this?"
"will using an error handler lock me into an approach I may regret later?"

If no to both, I say go with the error handler. The thing that breaks
software over time is having to recreate the mental state in which it was
written in order to enhance it or fix it for environment changes.

If no to only one...that's why you're paid the big bucks: to decide (if
there is a less clear alternative, how much less clear? is using an error
handler more or less resistant to changes from Apple? which way do I have
time to do it? etc etc).

--John

--
John Baxter email@hidden Port Ludlow, WA, USA


References: 
 >Using error handlers (was Re: HD name change for X) (From: email@hidden)

  • Prev by Date: Re: [rant] Upgrade to 9.2, any advice?
  • Next by Date: Re: crunchy crashy errors (solved)
  • Previous by thread: Re: Using error handlers (was Re: HD name change for X)
  • Next by thread: Switch iTunes Source
  • Index(es):
    • Date
    • Thread