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: 103376,b36bbdc1595d0665 X-Google-NewGroupId: yes X-Google-Attributes: gida07f3367d7,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII Path: g2news1.google.com!postnews.google.com!p7g2000yqa.googlegroups.com!not-for-mail From: Ada novice Newsgroups: comp.lang.ada Subject: Re: SPARK code samples Date: Wed, 11 Aug 2010 10:39:00 -0700 (PDT) Organization: http://groups.google.com Message-ID: References: C8888F59.14CCDC%yaldnif.w@blueyonder.co.uk <1b7d07a3-563c-4c0e-93db-e30a94e32932@w30g2000yqw.googlegroups.com> NNTP-Posting-Host: 193.11.22.91 Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: posting.google.com 1281548340 24957 127.0.0.1 (11 Aug 2010 17:39:00 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Wed, 11 Aug 2010 17:39:00 +0000 (UTC) Complaints-To: groups-abuse@google.com Injection-Info: p7g2000yqa.googlegroups.com; posting-host=193.11.22.91; posting-account=Rr9I-QoAAACS-nOzpA-mGxtAlZ46Nb6I User-Agent: G2/1.0 X-HTTP-UserAgent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.2.8) Gecko/20100722 Firefox/3.6.8 (.NET CLR 3.5.30729),gzip(gfe) Xref: g2news1.google.com comp.lang.ada:13134 Date: 2010-08-11T10:39:00-07:00 List-Id: On Aug 11, 7:32=A0pm, Mark Lorenzen wrote: > > I also think there is a risk of getting stuck with SPARK if you try to > design a SPARK program with Ada in mind. You constantly bump into a > useful feature of Ada that is not in SPARK (discriminated types, array > slicing etc.) and you think "why the h... isn't that a part of SPARK > when it's so easy to do in Ada?". So it's probably a way of tuning > your mindset from "Ada with restrictions" into SPARK. > So you're saying not to think in terms of Ada when approaching SPARK? I have yet to lay my hands on a copy of Barnes' SPARK book to learn SPARK syntax and I can understand that SPARK is not just Ada with some annotations. YC