Re: Using error handlers (was Re: HD name change for X)
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