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-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,4dcea36626746792 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2003-04-10 17:10:45 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news.ems.psu.edu!news.cis.ohio-state.edu!malgudi.oar.net!plonk.apk.net!news.apk.net!uunet!bos.uu.net!nyc.uu.net!dca.uu.net!nntp.TheWorld.com!not-for-mail From: Robert A Duff Newsgroups: comp.lang.ada Subject: Re: something I would like to see in ADA 2005 Date: 10 Apr 2003 20:10:43 -0400 Organization: The World Public Access UNIX, Brookline, MA Message-ID: References: <6a90b886.0304100522.2ebf68b2@posting.google.com> NNTP-Posting-Host: shell01.theworld.com Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: pcls4.std.com 1050019843 24118 199.172.62.241 (11 Apr 2003 00:10:43 GMT) X-Complaints-To: abuse@TheWorld.com NNTP-Posting-Date: Fri, 11 Apr 2003 00:10:43 +0000 (UTC) User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2 Xref: archiver1.google.com comp.lang.ada:36070 Date: 2003-04-10T20:10:43-04:00 List-Id: tony_gair@yahoo.co.uk (Tony Gair) writes: > I would like to see generic protected types in ada 2005. Please explain why generic packages (containing protected types), as suggested by Hymen Rosen, do not suffice. Please also explain why protected types are special -- why shouldn't we have generic types in general? > For example I have had to write seven , very similarly functioning > protected types to perform the same database functions using the AVL > trees of the booch components. They protected types save their data > automatically but why on earth did I need to write seven (and debug ! > and maintain! eek). Indeed, eek. > I think protected types remove a lot problems and save writing tasks > but in this case the task probably should have been used just to > maintain the genericness ( or genericisity), but this would have been > at the cost of the solid robustness provided by protected types. How would tasks help? Task types are no more generic than protected types. If you want genericity, you have to wrap it in a package. > Are we too late to have our requests considered by whoever makes these > decisions ? The Ada Rapporteur Group makes these decisions, ultimately approved by WG9 and the ISO. Send your request to ada-comment@ada-auth.org, and see what they say. You have to give a concrete proposal, with details worked out, or they'll probably pay no attention. - Bob