comp.lang.ada
 help / color / mirror / Atom feed
From: "J-P. Rosen" <rosen@adalog.fr>
Subject: Re: OT: A bit  of Sudoku
Date: Thu, 05 Jun 2014 21:43:07 +0200
Date: 2014-06-05T21:43:07+02:00	[thread overview]
Message-ID: <lmqh8e$cfk$1@dont-email.me> (raw)
In-Reply-To: <lmqfqo$rj7$1@dont-email.me>

Le 05/06/2014 21:18, Jeffrey Carter a écrit :
>> I know that not everybody likes this idea, but to me exceptions are a
>> powerful programming structure, not limited to handling errors.
> 
> As the name indicates, exceptions are for exceptional situations.
> Finding a solution doesn't seem exceptional for a solver.
> 
It IS an exceptional condition!

An exceptional condition is a condition that makes it impossible or
unnecessary to continue with the normal algorithm, and requires suddenly
a different behaviour. Finding the solution is precisely that.
(although it is not an error or an abnormal condition, which is
precisely the point I made).

-- 
J-P. Rosen
Adalog
2 rue du Docteur Lombard, 92441 Issy-les-Moulineaux CEDEX
Tel: +33 1 45 29 21 52, Fax: +33 1 45 29 25 00
http://www.adalog.fr


  reply	other threads:[~2014-06-05 19:43 UTC|newest]

Thread overview: 25+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-06-05 17:49 OT: A bit of Sudoku Mike H
2014-06-05 18:30 ` Adam Beneschan
2014-06-05 19:00   ` J-P. Rosen
2014-06-05 19:18     ` Jeffrey Carter
2014-06-05 19:43       ` J-P. Rosen [this message]
2014-06-05 20:05     ` Mike H
2014-06-05 23:12     ` Robert A Duff
2014-06-05 23:39       ` Adam Beneschan
2014-06-06  7:51         ` Dmitry A. Kazakov
2014-06-06  9:21           ` Georg Bauhaus
2014-06-06 13:38             ` Dmitry A. Kazakov
2014-06-06 15:47           ` Adam Beneschan
2014-06-06 17:09             ` Dmitry A. Kazakov
2014-06-07  6:03             ` J-P. Rosen
2014-06-06 14:13         ` Brad Moore
2014-06-13  0:21     ` Shark8
2014-06-13  6:30       ` J-P. Rosen
2014-06-13 10:10       ` Mike H
2014-06-13 12:37         ` Dmitry A. Kazakov
2014-06-13 15:47         ` Shark8
2014-06-05 20:03   ` Mike H
2014-06-05 20:40     ` Adam Beneschan
2014-06-06  9:10       ` Stefan.Lucks
2014-06-06 10:59         ` Mike H
2014-06-06 16:06         ` Adam Beneschan
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox