Hint on local DIE handlers in Eval

Gustaf Bjorksten gustaf at cmetech.com.au
Fri Jan 10 00:07:54 CST 2003


On Fri, 10 Jan 2003, Scott Penrose wrote:

> > One of the big problems with die handlers is that people don't
> > expect them to be changed, hence the need for the rather
> > careful footwork seen in Scott's examples.  I'd recommend not
> > touching die handlers at all if you can help it, and if you
> > *do* need to play with them, restrict them to logging and/or
> > modifying the message in question (eg, to wrap it up in an
> > exception object), and then re-throwing the die.
> 
> Here is the best advice to follow, especially the last line !
> 
> Scott

Ahhh, bugger! Now you've made me want to go back and examine all the die
handlers in our stats code :(

L8rz,
Foobard - Jester from the Court of Chaos


  Net Cens0rship = Book Burning in the Digital Age
  http://www.efa.org.au/




More information about the Melbourne-pm mailing list