Re: Denial of denial of service

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

From: Peter da Silva
Subject: Re: Denial of denial of service
Date: 17:45 on 29 Jan 2007
On Jan 29, 2007, at 11:29 AM, Andy Armstrong wrote:
> On 29 Jan 2007, at 17:26, Peter da Silva wrote:
>> A GUI is an asynchronous environment, you have to have a mechanism to 
>> deal with it. This is a good one... in that context.

> Yes, sure - but their use is in no way limited to async environments.

I'd have to look at the way they work and the way they are used in 
practice outside a GUI.

>>> So how are you proposing to propagate recoverable errors? Guard 
>>> every function call with a conditional?

>> In many cases, yes. And, I've found that you have to put an exception 
>> handler around pretty much every function call that's potentially the 
>> source of a "routine" exception anyway.

> Why? You should be able to ignore exceptions that you don't explicitly 
> need to know about and allow them to propagate higher up the call 
> chain.

Technically, yes, but 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.

>>> Your world scares me.

> [...] I was referring to
>
> "It wouldn't surprise me to learn that there's hatefulness lurking 
> there."

Well, duh, *it's software*.

There's stuff above here

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