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.3 required=5.0 tests=BAYES_00,INVALID_MSGID, MSGID_RANDY autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,1e5c102037393131 X-Google-Attributes: gid103376,public From: Robert Dewar Subject: Re: Assertions Date: 1999/05/12 Message-ID: <7hc4nh$7gd$1@nnrp1.deja.com>#1/1 X-Deja-AN: 477011989 References: <3736D243.1EEBF1AB@globalnet.co.uk> <37397272.4B2FC372@praxis-cs.co.uk> X-Http-Proxy: 1.0 x26.deja.com:80 (Squid/1.1.22) for client 205.232.38.14 Organization: Deja.com - Share what you know. Learn what you don't. X-Article-Creation-Date: Wed May 12 14:54:46 1999 GMT Newsgroups: comp.lang.ada X-Http-User-Agent: Mozilla/4.04 [en] (OS/2; I) Date: 1999-05-12T00:00:00+00:00 List-Id: In article <37397272.4B2FC372@praxis-cs.co.uk>, Peter Amey wrote: > The SPARK Ada subset Hmmm! I am very careful not to refer to SPARK as an Ada subset, since really it is a language in its own right, and I thought that was something Praxis liked to stress :-) > has assertions in the form of pre/post conditions, loop > invaraints etc. which are used to generate verification > conditions (proof obligations) allowing partial > correctness to be established. > These are not checks which are monitiored at run time. Indeed, this is yet a third view of assertions quite different from the other two (run time checks, or assertions for the compiler optimizer). I should have included this case in my summary questions. Assert is one of these things everyone thinks is a) a good thing b) straightforward till you begin to discuss it, and realize that different people have very different notions about what an assertion is! --== Sent via Deja.com http://www.deja.com/ ==-- ---Share what you know. Learn what you don't.---