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=unavailable autolearn_force=no version=3.4.4 Path: buffer1.nntp.dca1.giganews.com!border1.nntp.dca1.giganews.com!nntp.giganews.com!usenet.blueworldhosting.com!feeder01.blueworldhosting.com!feeder.erje.net!us.feeder.erje.net!newsfeed.fsmpi.rwth-aachen.de!newsfeed.straub-nv.de!eternal-september.org!feeder.eternal-september.org!mx02.eternal-september.org!.POSTED!not-for-mail From: Bob Duff Newsgroups: comp.lang.ada Subject: Re: If not Ada, what else... Date: Fri, 10 Jul 2015 13:39:14 -0400 Organization: A noiseless patient Spider Message-ID: <87380vvrnh.fsf@theworld.com> References: <14592326-5070-4663-a864-5684298f3748@googlegroups.com> <004361da-53c4-4ea9-8cc6-38944aa6c7ad@googlegroups.com> <29dd5458-f9ce-4db8-9128-8ab35a9ce5f8@googlegroups.com> <64bc671c-72e5-4924-b703-3b907c69949c@googlegroups.com> <877fq9uj6g.fsf@theworld.com> <65061686-5c8f-433b-9b11-9e228298158e@googlegroups.com> <87k2u96jms.fsf@jester.gateway.sonic.net> <06f8a6f9-d219-4d40-b9ac-8518e93839bd@googlegroups.com> <87y4io63jy.fsf@jester.gateway.sonic.net> <7a29d3e9-d1bd-4f4a-b1a6-14d3e1a83a4d@googlegroups.com> <302586a7-b960-473e-8524-61d87a1d7c11@googlegroups.com> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: mx02.eternal-september.org; posting-host="703ca166ccd67a05a813e72478030cae"; logging-data="30349"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19gVMS6JC5se7ZLSDPsiF22" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3 (gnu/linux) Cancel-Lock: sha1:ScC0w6w/uCUxIIgGybL2xQJOc90= sha1:qlgYaAyfmqhathy3JWB6Bfn5L9U= Xref: number.nntp.giganews.com comp.lang.ada:194054 Date: 2015-07-10T13:39:14-04:00 List-Id: David Botton writes: > To be fair, subtype predicates (and any work in the direction of tighter type > contracts) are a clear step in the direction I was referring to as real Ada > worthy additions. Subtype predicates are my favorite feature added in Ada 2012. I did much of the design work on them. I'd prefer they be called "invariants", though -- but that's a different feature. I did not agree with the split into Static_Predicate and Dynamic_Predicate. (And GNAT has Predicate as an implementation defined feature -- that's what I use in my code.) - Bob