[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Understanding exceptions



On Sat, Feb 21, 2004 at 11:00:59PM +0100, Florent Rougon wrote:
> Hi,
> 
> Tilo Schwarz <list@tilo-schwarz.de> wrote:
> 
> > Hi together,
> 
> [...]
> 
> > here). For me, KISS would be more like that:
> 
> [ piece of code ]
> 
> > But, as always, it's a matter of taste...
> 
> I agree that your way of coding this particular algorithm is relatively
> elegant. I said in another message that I would have done this way if
> there would have been a bit more different message types. It's a fuzzy
> threshold problem as when to deploy a generic machinery or not.

Given that both ways work about as well (and that was more or less
what I had in mind), it quite effectively disproves your claim that
this problem could not have been solved as neatly without exceptions.

-- 
  .''`.  ** Debian GNU/Linux ** | Andrew Suffield
 : :' :  http://www.debian.org/ |
 `. `'                          |
   `-             -><-          |

Attachment: signature.asc
Description: Digital signature


Reply to: