Re: Denial of denial of service

[prev] [thread] [next] [lurker] [Date index for 2007/01/30]

From: Peter da Silva
Subject: Re: Denial of denial of service
Date: 04:01 on 30 Jan 2007
On Jan 29, 2007, at 4:27 PM, Phil!Gregory wrote:
> * Peter da Silva <peter@xxxxxxx.xxx> [2007-01-29 11:45 -0600]:
>> in practice (unless you're programming in a pure functional mode with 
>> no
>> I/O) you've generally got some non-volatile state you have to clean up
>> or back out of before letting the exception pass on up the chain.

> try / finally.

Unless there's some magic involved, you still have to keep track of 
where you are in the try block so you can unwind things properly. And 
so does the guy calling you, and so does the guy calling him, and any 
function simple enough it doesn't need to keep track of which failed 
function it needs to clean up after likely only calls one function with 
the potential of throwing a "non-exceptional exception".

There's stuff above here

Generated at 23:01 on 06 Feb 2007 by mariachi 0.52