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-14 08:46:09 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!logbridge.uoregon.edu!hammer.uoregon.edu!skates!not-for-mail From: Stephen Leake Newsgroups: comp.lang.ada Subject: Re: something I would like to see in ADA 2005 Date: 14 Apr 2003 11:40:35 -0400 Organization: NASA Goddard Space Flight Center (skates.gsfc.nasa.gov) Message-ID: References: <6a90b886.0304100522.2ebf68b2@posting.google.com> NNTP-Posting-Host: anarres.gsfc.nasa.gov Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: skates.gsfc.nasa.gov 1050335728 12743 128.183.235.92 (14 Apr 2003 15:55:28 GMT) X-Complaints-To: usenet@news.gsfc.nasa.gov NNTP-Posting-Date: 14 Apr 2003 15:55:28 GMT User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2 Xref: archiver1.google.com comp.lang.ada:36133 Date: 2003-04-14T15:55:28+00:00 List-Id: tony_gair@yahoo.co.uk (Tony Gair) writes: > I would like to see generic protected types in ada 2005. > > 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). Please post the code, and an example of how you would like it to work instead. Then we'll know what you mean by "generic protected types". > 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. That sounds like a good rationale. > Are we too late to have our requests considered by whoever makes > these decisions ? Not too late. But you have to have an actual proposal, not just an idea. The proposal has to read like the Ada RM; give complete syntax, legality rules, and semantics. Lots of work! -- -- Stephe