comp.lang.ada
 help / color / mirror / Atom feed
From: "Dmitry A. Kazakov" <mailbox@dmitry-kazakov.de>
Subject: Re: Specifying the order of ops on an ADT with aspects
Date: Fri, 5 Feb 2010 19:34:17 +0100
Date: 2010-02-05T19:34:10+01:00	[thread overview]
Message-ID: <1v9rzmqtgr455$.1xm2la9knf3jy$.dlg@40tude.net> (raw)
In-Reply-To: b50c0c29-8c28-4e3d-af96-61570e2fc2a6@l19g2000yqb.googlegroups.com

On Fri, 5 Feb 2010 08:55:31 -0800 (PST), Hibou57 (Yannick Duch�ne) wrote:

> On 5 f�v, 17:44, Colin Paul Gloster <Colin_Paul_Glos...@ACM.org>
> wrote:
>> I agree that no message for a failing precondition or postcondition
>> check is bad. A newer Ada standard does not necessitate a better
>> language.
> Don't be sad, pretty sure most of vendors will provide it ;)
> After all, the Ada standard does not specify anything either about
> debugging informations and the like, and indeed, that's not its area.
> This may be the reason why of the actual ARG vote.

Whatever, but I see no need in yet another syntax for run-time assertions.
Statically checked contracts in the form of pre- and postconditions would
be a great language improvement, what we will get obviously to me will not.

And my painful experience tells me that no check is optional. There is
either one or none. I bet that any suppressed check will eventually fail in
the production code [*].

------------------
* Unless you do things like code coverage etc, but these would eliminate
the very need to check something that you already proved to hold.

-- 
Regards,
Dmitry A. Kazakov
http://www.dmitry-kazakov.de



  reply	other threads:[~2010-02-05 18:34 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-02-04 11:26 Specifying the order of ops on an ADT with aspects Georg Bauhaus
2010-02-04 18:07 ` Hibou57 (Yannick Duchêne)
2010-02-05 16:44   ` Colin Paul Gloster
2010-02-05 16:55     ` Hibou57 (Yannick Duchêne)
2010-02-05 18:34       ` Dmitry A. Kazakov [this message]
2010-02-08 10:41         ` Colin Paul Gloster
2010-02-05 22:15   ` Randy Brukardt
2010-02-05 22:45     ` Hibou57 (Yannick Duchêne)
2010-02-06  3:35       ` Hibou57 (Yannick Duchêne)
replies disabled

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