comp.lang.ada
 help / color / mirror / Atom feed
From: Serge Robyns <serge.robyns@gmail.com>
Subject: Re: Problems with SPARK 2015 and XMLAda
Date: Thu, 20 Aug 2015 13:00:21 -0700 (PDT)
Date: 2015-08-20T13:00:21-07:00	[thread overview]
Message-ID: <0115fd12-4ddb-43e9-8e7d-75a95a97796e@googlegroups.com> (raw)
In-Reply-To: <9d3dc132-4e1a-4e9c-bcd4-82a42a73745f@googlegroups.com>

On Thursday, 20 August 2015 18:38:18 UTC+2, Shark8  wrote:

> Do you /NEED/ SPARK? Maybe, maybe not. But there are certain properties of software built with formal methods that are desirable -- like the aforementioned absence of exceptions.

From the discussion it is clear I don't need SPARK for my application.  The application will consume data from external possibly unreliable sources.  It will work with systems that can fail, etc.  My attempt with SPARK was to be able to prove correctness of major portions of the code.  However, it is not a live critical software component.  Yes, I was wrong with my assumptions about SPARK.

With regards to exceptions I haven't any but XMLAda does raise them when failing to validate the XML file.  I'm using a few access variables where my *current* design pushes me to do so (there is an older post about it by me in this group) but when reading the GNAT container packages I do see they are used there too.  Exceptions are nice to handle certain kinds of failure without requiring to burden complex error handling everywhere.  In a database application it is perfectly acceptable to rollback the transaction in such case.

Thanks for sharing your thoughts.


  parent reply	other threads:[~2015-08-20 20:00 UTC|newest]

Thread overview: 25+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-08-19 15:58 Problems with SPARK 2015 and XMLAda Serge Robyns
2015-08-19 20:21 ` Simon Wright
2015-08-19 21:22   ` Serge Robyns
2015-08-20  7:10     ` Jacob Sparre Andersen
2015-08-20 10:06       ` Mark Lorenzen
2015-08-20 16:38     ` Shark8
2015-08-20 18:42       ` Peter Chapin
2015-08-20 19:13         ` Jeffrey R. Carter
2015-08-20 20:00       ` Serge Robyns [this message]
2015-08-20 20:36       ` Randy Brukardt
2015-08-20 23:21         ` Shark8
2015-08-21  6:26         ` Stefan.Lucks
2015-08-21  7:30           ` Dmitry A. Kazakov
2015-08-21  8:19             ` Stefan.Lucks
2015-08-21  9:37               ` Dmitry A. Kazakov
2015-08-21 10:09                 ` G.B.
2015-08-21 11:56                   ` Dmitry A. Kazakov
2015-08-21 13:46                     ` G.B.
2015-08-21 14:45                       ` brbarkstrom
2015-08-21 15:34                       ` Dmitry A. Kazakov
2015-08-21 23:44                       ` Bob Duff
2015-08-22  6:22                         ` Dmitry A. Kazakov
2015-08-21 10:43                 ` Stefan.Lucks
2015-08-21 12:35                   ` Dmitry A. Kazakov
2015-08-24 21:32               ` Randy Brukardt
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox