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,e646052dc594401f X-Google-NewGroupId: yes X-Google-Attributes: gida07f3367d7,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news2.google.com!news4.google.com!proxad.net!feeder1-2.proxad.net!newsfeed.straub-nv.de!open-news-network.org!news-1.dfn.de!news.dfn.de!news.uni-weimar.de!not-for-mail From: stefan-lucks@see-the.signature Newsgroups: comp.lang.ada Subject: Re: Strategies with SPARK which does not support exceptions Date: Wed, 30 Jun 2010 10:17:45 +0200 Organization: Bauhaus-Universitaet Weimar Message-ID: References: <93966134-a285-41c5-a7f6-8c59151718a7@k39g2000yqb.googlegroups.com> Reply-To: stefan-lucks@see-the.signature NNTP-Posting-Host: medsec1.medien.uni-weimar.de Mime-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Trace: tigger.scc.uni-weimar.de 1277882941 16193 141.54.178.228 (30 Jun 2010 07:29:01 GMT) X-Complaints-To: news@tigger.scc.uni-weimar.de NNTP-Posting-Date: Wed, 30 Jun 2010 07:29:01 +0000 (UTC) X-X-Sender: lucks@medsec1.medien.uni-weimar.de In-Reply-To: Xref: g2news2.google.com comp.lang.ada:12993 Date: 2010-06-30T10:17:45+02:00 List-Id: On Tue, 29 Jun 2010, Randy Brukardt wrote: > Returning to the dark ages of programming (that is BE - Before Exceptions) > and reintroducing all of the problems of early C code just because of > inadequate tools seems like a horrible step backwards to me. I agree that error returns in code that isn't statically checked is a first-class flight into the world of severe errors and bugs. But for SPARK, if a subprogram can return an error code and you forget to handle the error code, SPARK will remind you -- your program will not pass the static verification. So the kind of errors introduced by error returns can easily be avoided in SPARK. So long Stefan -- ------ Stefan Lucks -- Bauhaus-University Weimar -- Germany ------ Stefan dot Lucks at uni minus weimar dot de ------ I love the taste of Cryptanalysis in the morning! ------