Re: Denial of denial of service

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

From: Phil!Gregory
Subject: Re: Denial of denial of service
Date: 22:27 on 29 Jan 2007
* 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.

Which is a bit of a pain, but since I'm on the side of the fence that
likes exceptions, I consider it acceptable.

NB: I do not consider this syntactical construct acceptable:

  try
    try
      ...
    catch
      ...
    end
  finally
    ...
  end

-- 
...computer contrarian of the first order... / http://aperiodic.net/phil/
PGP: 026A27F2  print: D200 5BDB FC4B B24A 9248  9F7A 4322 2D22 026A 27F2
--- --
There's more than one way to skin a cat.  And I happen to know that
factually that's true.
                       -- Mayor Wilkins (Buffy the Vampire Slayer)
---- --- --
There's stuff above here

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