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=-0.3 required=5.0 tests=BAYES_00, REPLYTO_WITHOUT_TO_CC autolearn=no autolearn_force=no version=3.4.4 X-Google-Thread: 103376,e7ceb00d83425e3a X-Google-Attributes: gid103376,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!news1.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!nx02.iad01.newshosting.com!newshosting.com!newsfeed.icl.net!newsfeed.fjserv.net!newsfeed.arcor.de!newsspool4.arcor-online.net!news.arcor.de.POSTED!not-for-mail From: "Dmitry A. Kazakov" Subject: Re: rant (Re: Ada featured in Doctor Dobb's Journal ) Newsgroups: comp.lang.ada User-Agent: 40tude_Dialog/2.0.15.1 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Reply-To: mailbox@dmitry-kazakov.de Organization: cbb software GmbH References: <31a97103-1cbb-47b5-a93c-2a29c206556f@e39g2000hsf.googlegroups.com> <0d254195-50cb-4bad-b776-8d5c2ab09b6c@m45g2000hsb.googlegroups.com> <878wy9uyg9.fsf@ludovic-brenta.org> Date: Sat, 17 May 2008 11:27:38 +0200 Message-ID: NNTP-Posting-Date: 17 May 2008 11:27:37 CEST NNTP-Posting-Host: 9395d168.newsspool4.arcor-online.net X-Trace: DXC=j>Fdeiil1DDgj[ZPFj7ehO4IUKRNKgS6F X-Complaints-To: usenet-abuse@arcor.de Xref: g2news1.google.com comp.lang.ada:149 Date: 2008-05-17T11:27:37+02:00 List-Id: On Sat, 17 May 2008 10:28:06 +0200, Ludovic Brenta wrote: > I strongly prefer compile-time checks over run-time checks, Yes, actually contract checks have to be strictly static. A check failed at run-time has no option but to terminate the program. Otherwise, it was not contract check. Exception propagation is a part of the contract. -- Regards, Dmitry A. Kazakov http://www.dmitry-kazakov.de