Kevin Reid | 7 Sep 2009 13:37
Picon
Gravatar

Re: OUTPUT-REPLACEMENT restart for fd-streams external-format

On Sep 7, 2009, at 5:29, John Fremlin wrote:

> This is the trouble with exceptions: you get retarded things like your
> entire photomanagement application crashing hard because it can't  
> create
> one thumbnail.

Um. For interactive applications with valuable state, you should have  
a general (handler-case ... (error ...)) around each turn of your  
event loop/command loop/whatever, for exactly this reason.

In systems of today's complexity, you can't foresee *every* error case  
whether or not they're expressed as exceptions, and having a general  
ERROR handler (perhaps with a warning to the user) is a simple and  
effective approach.

--

-- 
Kevin Reid                                  <http://switchb.org/kpreid/>

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july

Gmane