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: eternal-september.org!reader01.eternal-september.org!reader02.eternal-september.org!news.eternal-september.org!news.eternal-september.org!feeder.eternal-september.org!gandalf.srv.welterde.de!news.jacob-sparre.dk!franka.jacob-sparre.dk!pnx.dk!.POSTED.rrsoftware.com!not-for-mail From: "Randy Brukardt" Newsgroups: comp.lang.ada Subject: Re: Musing on defining attributes and the ability to define an "abstract type X"-interface. Date: Mon, 7 Aug 2017 18:06:51 -0500 Organization: JSA Research & Innovation Message-ID: 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> Injection-Date: Mon, 7 Aug 2017 23:06:52 -0000 (UTC) Injection-Info: franka.jacob-sparre.dk; posting-host="rrsoftware.com:24.196.82.226"; logging-data="28529"; mail-complaints-to="news@jacob-sparre.dk" X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2900.5931 X-RFC2646: Format=Flowed; Original X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.7246 Xref: news.eternal-september.org comp.lang.ada:47639 Date: 2017-08-07T18:06:51-05:00 List-Id: "Shark8" wrote in message news:e8fcbf71-7432-4410-bae7-34943479bf81@googlegroups.com... ... >And this proposal is about adding the ability to extend to the whole >language >without having to depend on (or be restricted to) tagged types. Ada 9x originally allowed 'Class on all types. It eventually got dropped because it was a lot of mechanism and Ada 9x looked like it might be too complex for anyone to actually implement. (That was the infamous "scope reduction"; a few thigns were snunk back in after that - specifically finalization and library-level renaming - but most of the stuff stayed out. Some have reappeared in later versions of Ada.) It's occassionally come up, but there hasn't been much interest in reviving it in general, because it doesn't buy a lot. If you disagree, please come up with examples of things are both important and hard to do with the current language. Randy.