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 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Thread: 103376,6327f05d4989a68d X-Google-NewGroupId: yes X-Google-Attributes: gida07f3367d7,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit X-Received: by 10.68.226.168 with SMTP id rt8mr526243pbc.8.1355884119844; Tue, 18 Dec 2012 18:28:39 -0800 (PST) MIME-Version: 1.0 Path: s9ni52691pbb.0!nntp.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!news.glorb.com!feeder.erje.net!eu.feeder.erje.net!nuzba.szn.dk!news.jacob-sparre.dk!munin.jacob-sparre.dk!pnx.dk!.POSTED!not-for-mail From: "Randy Brukardt" Newsgroups: comp.lang.ada Subject: Re: Press Release - Ada 2012 Language Standard Approved by ISO Date: Tue, 18 Dec 2012 17:24:09 -0600 Organization: Jacob Sparre Andersen Research & Innovation Message-ID: References: NNTP-Posting-Host: static-69-95-181-76.mad.choiceone.net X-Trace: munin.nbi.dk 1355884119 9285 69.95.181.76 (19 Dec 2012 02:28:39 GMT) X-Complaints-To: news@jacob-sparre.dk NNTP-Posting-Date: Wed, 19 Dec 2012 02:28:39 +0000 (UTC) X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2900.5931 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.6157 X-RFC2646: Format=Flowed; Original Date: 2012-12-18T17:24:09-06:00 List-Id: "Robert A Duff" wrote in message news:wcc8v8vti17.fsf@shell01.TheWorld.com... > dirk@vana.cs.kuleuven.be. (Dirk Craeynest) writes: > >> Ada 2012 brings significant enhancements to Ada, most notably in the >> area of "contract-based programming." New features here include the >> ability to specify preconditions and postconditions for subprograms, >> and invariants for private (encapsulated) types. > > Why does everybody neglect predicates, which are more important > than pre/post/invariant? No idea. Perhaps it is because only "old Ada hands" really grok the idea of a constrained subtype, and a predicate is just a constraint on steroids (well, a more general constraint). For people that don't understand the power of constraints, extending them seems pointless. (Or maybe its just an oversight by the people who wrote that press release - I didn't notice the fact it was missing when I skimmed a draft last week.) Randy.