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=-0.3 required=5.0 tests=BAYES_00, REPLYTO_WITHOUT_TO_CC autolearn=no autolearn_force=no version=3.4.4 X-Google-Thread: 103376,23c0de5a42cf667e X-Google-NewGroupId: yes X-Google-Attributes: gida07f3367d7,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII Path: g2news1.google.com!news4.google.com!proxad.net!feeder1-2.proxad.net!newsfeed.straub-nv.de!news-2.dfn.de!news.dfn.de!news.uni-weimar.de!not-for-mail From: stefan-lucks@see-the.signature Newsgroups: comp.lang.ada Subject: Re: GNAT packages in Linux distributions Date: Wed, 26 May 2010 10:38:20 +0200 Organization: Bauhaus-Universitaet Weimar Message-ID: References: <87mxw9x7no.fsf@ludovic-brenta.org> <16bz9kvbqa8y9$.155ntpwpwl29d.dlg@40tude.net> <4be97bea$0$2966$ba4acef3@reader.news.orange.fr> <1p87qdlnjbufg.127laayhrw9x3$.dlg@40tude.net> <4j73xhgimt6r$.pu55kne2p2w5$.dlg@40tude.net> Reply-To: stefan-lucks@see-the.signature NNTP-Posting-Host: medsec1.medien.uni-weimar.de Mime-Version: 1.0 Content-Type: MULTIPART/MIXED; BOUNDARY="8323584-1468692868-1274863100=:12488" X-Trace: tigger.scc.uni-weimar.de 1274860016 7288 141.54.178.228 (26 May 2010 07:46:56 GMT) X-Complaints-To: news@tigger.scc.uni-weimar.de NNTP-Posting-Date: Wed, 26 May 2010 07:46:56 +0000 (UTC) X-X-Sender: lucks@medsec1.medien.uni-weimar.de In-Reply-To: Xref: g2news1.google.com comp.lang.ada:11037 Date: 2010-05-26T10:38:20+02:00 List-Id: This message is in MIME format. The first part should be readable text, while the remaining parts are likely unreadable without MIME-aware tools. --8323584-1468692868-1274863100=:12488 Content-Type: TEXT/PLAIN; charset=iso-8859-1 Content-Transfer-Encoding: 8BIT On Tue, 25 May 2010, Yannick Duch�ne (Hibou57) wrote: > There is a major difference : Eiffel's pre/cond on methods are inherited by > derived class. With C, or even with Ada' pragma Assert, this have to be done > manually. > > Side note: I'm not talking about pre/cond in Ada 2012/2015, which will be > closer to that of Eiffel. However, as SPARK already has this and do it better > from my point of view (because of static checking and proofs), I am not > waiting for Ada 2012/2015 for that. Don't underestmate Ada2012 (or Eiffel, for that point): Being able to natively *express* contracts in a programming language itself, instead of using some more or less informal comments, as can be done in any other languages is a quantum leap. This is regardless of any checking! (Not that I disagree with you: Static checking, as provided by SPARK, is a BIG THING by itself.) Defining a derived language which uses the mother language's comments for an "annotation" syntax (like SPARK, some Java-derivatives, ...) is the poor man's (or poor woman's) approach. I would really hope that SPARK will soon after the appearance of Ada 2012 support the new contract syntax. Stefan -- ------ Stefan Lucks -- Bauhaus-University Weimar -- Germany ------ Stefan dot Lucks at uni minus weimar dot de ------ I love the taste of Cryptanalysis in the morning! ------ --8323584-1468692868-1274863100=:12488--