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,8ddc2f0fbdfbed75 X-Google-NewGroupId: yes X-Google-Attributes: gida07f3367d7,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit From: "Randy Brukardt" Newsgroups: comp.lang.ada Subject: Re: design changes per Ada 2005/12? Date: Fri, 22 Apr 2011 19:41:59 -0500 Organization: Jacob Sparre Andersen Research & Innovation Message-ID: References: <49b85caa-700c-44c8-8a11-2f512083aca5@r6g2000vbz.googlegroups.com> NNTP-Posting-Host: static-69-95-181-76.mad.choiceone.net X-Trace: munin.nbi.dk 1303519321 29727 69.95.181.76 (23 Apr 2011 00:42:01 GMT) X-Complaints-To: news@jacob-sparre.dk NNTP-Posting-Date: Sat, 23 Apr 2011 00:42:01 +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.5931 X-RFC2646: Format=Flowed; Original Path: g2news2.google.com!news3.google.com!news4.google.com!proxad.net!feeder1-2.proxad.net!feed.ac-versailles.fr!news.ecp.fr!news.jacob-sparre.dk!pnx.dk!jacob-sparre.dk!ada-dk.org!.POSTED!not-for-mail Xref: g2news2.google.com comp.lang.ada:19965 Date: 2011-04-22T19:41:59-05:00 List-Id: "Lucretia" wrote in message news:49b85caa-700c-44c8-8a11-2f512083aca5@r6g2000vbz.googlegroups.com... ... >P.S: The containers should've used interfaces! We tried that with the new Queue containers, and IMHO it is a disaster. You have to use an extra instantiation and extra formal parameters for a feature that you are not going to use on 90% of the programs. (Typically, you only use one kind of queue in a program.) The introduction of the interfaces also forced a horrible structure which requires the implementation to declare all of its internal data structures in a *visible* nested package. (This is partially the fault of protected types, which don't allow nested types for good reasons -- but if we didn't have the interface we could hide the protected type in the private part.) Some of this could be fixed with substantial violence to the Ada visibility and implementation models, but it is not clear that what you would end up with be Ada. Not likely to happen, and surely not before Ada 2020. Randy.