From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=unavailable autolearn_force=no version=3.4.4 Path: eternal-september.org!reader01.eternal-september.org!reader02.eternal-september.org!news.eternal-september.org!news.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail From: Jeffrey Carter Newsgroups: comp.lang.ada Subject: Re: OT: A bit of Sudoku Date: Thu, 05 Jun 2014 12:18:48 -0700 Organization: Also freenews.netfront.net; news.tornevall.net; news.eternal-september.org Message-ID: References: <5365d3f0-43cc-47ef-989c-d47992c84c9f@googlegroups.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Injection-Date: Thu, 5 Jun 2014 19:18:50 +0000 (UTC) Injection-Info: mx05.eternal-september.org; posting-host="2949cc1819e0726530893433d1436a1e"; logging-data="28263"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18zwDYXa8OaTgwpGEiFRoaBmEZXSEHULDk=" User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.5.0 In-Reply-To: Cancel-Lock: sha1:PUq0zamNRh516Z0m2xm4/33cFhM= Xref: news.eternal-september.org comp.lang.ada:20148 Date: 2014-06-05T12:18:48-07:00 List-Id: On 06/05/2014 12:00 PM, J-P. Rosen wrote: > On the contrary, I think exception are perfectly appropriate for that: > they allow to unwind the call stack directly up to the point where you > want to catch it by providing a handler. > > 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. -- Jeff Carter "If you think you got a nasty taunting this time, you ain't heard nothing yet!" Monty Python and the Holy Grail 23