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,FREEMAIL_FROM autolearn=ham autolearn_force=no version=3.4.4 X-Google-Thread: a07f3367d7,e646052dc594401f X-Google-Attributes: gida07f3367d7,public,usenet X-Google-NewGroupId: yes X-Google-Language: ENGLISH,ASCII Path: g2news1.google.com!postnews.google.com!a39g2000prb.googlegroups.com!not-for-mail From: Claude Newsgroups: comp.lang.ada Subject: Re: Strategies with SPARK which does not support exceptions Date: Thu, 17 Jun 2010 23:07:16 -0700 (PDT) Organization: http://groups.google.com Message-ID: References: NNTP-Posting-Host: 70.79.53.248 Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: posting.google.com 1276841236 23722 127.0.0.1 (18 Jun 2010 06:07:16 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Fri, 18 Jun 2010 06:07:16 +0000 (UTC) Complaints-To: groups-abuse@google.com Injection-Info: a39g2000prb.googlegroups.com; posting-host=70.79.53.248; posting-account=WPcl4AoAAAC3CTqLAgWnftzSSCqiCJ4J User-Agent: G2/1.0 X-HTTP-UserAgent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; Trident/4.0; (R1 1.5); .NET CLR 1.0.3705; .NET CLR 1.1.4322; .NET CLR 2.0.50727; .NET CLR 3.0.4506.2152; .NET CLR 3.5.30729),gzip(gfe) Xref: g2news1.google.com comp.lang.ada:11811 Date: 2010-06-17T23:07:16-07:00 List-Id: On Jun 17, 8:33=A0am, Yannick Duch=EAne (Hibou57) wrote: > Hello, > > (This topic will probably not be the most exiting topic to some people). > > When I use SPARK, or even when I don't use SPARK while I still have SPARK= =A0 > design style in mind (even with Pascal which I still use), I have like an= y =A0 > one else, to forget about exceptions. > > So, let us talk and comment about design strategies in this area (if =A0 > someones wish to). Hello Yannick You are talking about Ada. Just add annotation and you get SPARK and static analysis. SPARK is about - Data and information flow analysis annotations ensure that data are used in the expected way. - Proof of absence of run-time errors that can spare exception error handling and defensive programming. Just have a look on the Phil Torney web site (SparkSure) and download his Proof of Absence of Run-Time Error tutorial http://www.sparksure.com/resources/Proof_Annotations.zip It worth to have a glance at it... Claude