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,8ed772fe699ce43,start X-Google-Attributes: gid103376,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!news2.google.com!postnews.google.com!c60g2000hsf.googlegroups.com!not-for-mail From: =?ISO-8859-1?Q?Hibou57_=28Yannick_Duch=EAne=29?= Newsgroups: comp.lang.ada Subject: Require / ensure clauses Date: Tue, 21 Oct 2008 12:23:35 -0700 (PDT) Organization: http://groups.google.com Message-ID: NNTP-Posting-Host: 77.198.58.102 Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Trace: posting.google.com 1224617015 31396 127.0.0.1 (21 Oct 2008 19:23:35 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Tue, 21 Oct 2008 19:23:35 +0000 (UTC) Complaints-To: groups-abuse@google.com Injection-Info: c60g2000hsf.googlegroups.com; posting-host=77.198.58.102; posting-account=vrfdLAoAAAAauX_3XwyXEwXCWN3A1l8D User-Agent: G2/1.0 X-HTTP-UserAgent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; fr),gzip(gfe),gzip(gfe) Xref: g2news1.google.com comp.lang.ada:2451 Date: 2008-10-21T12:23:35-07:00 List-Id: Hello dear all of you, A simple question which live into my mind for sometimes (let say a bit long) is about the require and ensure clauses of the Eiffel lanuage. For people who do not known, let say that these are predicate which assert property on a language or function execution (and returned result for a function). Well, to be honest, Eiffel also knows things like invariant (for classes) and variant (for loops), but let keep it simple (the question) and just talk about require/ensure, .. no more. So... what about require / ensure clauses in the Ada world ? How does Ada developpers feel about it ? Does any one of you miss it ? How do you do ? Use comments whith similar meanings ? Others ? ... here we are... let's simply talk about design by contract with Ada :)