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=unavailable autolearn_force=no version=3.4.4 X-Received: by 10.99.3.210 with SMTP id 201mr4690793pgd.145.1501968570256; Sat, 05 Aug 2017 14:29:30 -0700 (PDT) X-Received: by 10.36.252.135 with SMTP id b129mr213675ith.1.1501968570219; Sat, 05 Aug 2017 14:29:30 -0700 (PDT) Path: eternal-september.org!reader01.eternal-september.org!reader02.eternal-september.org!news.eternal-september.org!news.eternal-september.org!feeder.eternal-september.org!news.glorb.com!u14no661327ita.0!news-out.google.com!12ni3196itl.0!nntp.google.com!u14no664646ita.0!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail Newsgroups: comp.lang.ada Date: Sat, 5 Aug 2017 14:29:29 -0700 (PDT) In-Reply-To: Complaints-To: groups-abuse@google.com Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=76.113.92.25; posting-account=lJ3JNwoAAAAQfH3VV9vttJLkThaxtTfC NNTP-Posting-Host: 76.113.92.25 References: <9617c73b-e23e-405b-8544-4d17e7e3ad61@googlegroups.com> <28512bf1-0c2c-400f-a24f-cc7e0eb8a02d@googlegroups.com> <87h8y67trd.fsf@jacob-sparre.dk> <36a1a83d-f3d7-4e3c-827d-addeadc28ccc@googlegroups.com> User-Agent: G2/1.0 MIME-Version: 1.0 Message-ID: Subject: Re: Musing on defining attributes and the ability to define an "abstract type X"-interface. From: Shark8 Injection-Date: Sat, 05 Aug 2017 21:29:30 +0000 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Xref: news.eternal-september.org comp.lang.ada:47622 Date: 2017-08-05T14:29:29-07:00 List-Id: On Saturday, August 5, 2017 at 11:18:44 AM UTC-6, Dmitry A. Kazakov wrote: > On 2017-08-05 18:51, Shark8 wrote: >=20 > > This is about having an "abstract type", it's about getting at the > > underlying interface (general-sense, not OOP-sense) > First, it is the same sense. Second, Ada has abstract types (ADT is Ada = 85). Why do you assert this? It's demonstrably not the case that it's OOP because, as you point out, Ada= 83 had the concepts w/o being an OOP language. As to the second point, ADT is Abstract Data Type -- we're obviously *NOT* = talking about data here so it doesn't apply... and even if it did, you *sti= ll* would have to illustrate how and ADT provides the sort of access/unifor= mity of interface being talked about. > The point is having hierarchies of types =3D classes. >=20 > - Ada 85 had built-in classes. > - Ada 95 added classes of tagged types with representations built by -=20 > record extension. > - Ada 2005 added classes of siblings sharing null representation (Ada=20 > interfaces). And this proposal is about adding the ability to extend to the whole langua= ge without having to depend on (or be restricted to) tagged types. >=20 > There is a whole world beyond these. Even within the Ada language there's more here.