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=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!news3.google.com!feeder.news-service.com!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail From: "(see below)" Newsgroups: comp.lang.ada Subject: Re: SPARK code samples Date: Wed, 11 Aug 2010 18:45:58 +0100 Message-ID: References: C8888F59.14CCDC%yaldnif.w@blueyonder.co.uk <1b7d07a3-563c-4c0e-93db-e30a94e32932@w30g2000yqw.googlegroups.com> Mime-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 8bit X-Trace: individual.net lMcMloShNZdQbSBfB/bLHg7V9+ss3l1Txhq/iJvOZx0cAFYYrg Cancel-Lock: sha1:fJL/4a6QTwCUSAo+ko1ld6zRvko= User-Agent: Microsoft-Entourage/12.23.0.091001 Thread-Topic: SPARK code samples Thread-Index: Acs5fQ4SeWX9cBaUxE6nQqqlB2ytCA== Xref: g2news1.google.com comp.lang.ada:13135 Date: 2010-08-11T18:45:58+01:00 List-Id: On 11/08/2010 18:39, in article bbc93c1c-9e12-4682-912d-9ff961c3a7a5@p7g2000yqa.googlegroups.com, "Ada novice" wrote: > On Aug 11, 7:32�pm, 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. Yebbut. It is. -- Bill Findlay chez blueyonder.co.uk