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.3 required=5.0 tests=BAYES_00,INVALID_MSGID, MSGID_RANDY autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,c2f62556e56c9683 X-Google-Attributes: gid103376,public From: Robert Dewar Subject: Re: 'with'ing and 'use'ing Date: 2000/03/02 Message-ID: <89kuci$sr3$1@nnrp1.deja.com>#1/1 X-Deja-AN: 592090780 References: <89h5lh$70r$1@nnrp1.deja.com> <89j5h5$j0j$1@nnrp1.deja.com> <89jdfu$ok4$1@nnrp1.deja.com> <89jk9g$u3b$1@nnrp1.deja.com> <89jls5$vgp$1@nnrp1.deja.com> <38BD80CD.4462065@ftw.rsc.raytheon.com> X-Http-Proxy: 1.0 x40.deja.com:80 (Squid/1.1.22) for client 205.232.38.14 Organization: Deja.com - Before you buy. X-Article-Creation-Date: Thu Mar 02 05:32:02 2000 GMT X-MyDeja-Info: XMYDJUIDrobert_dewar Newsgroups: comp.lang.ada X-Http-User-Agent: Mozilla/4.61 [en] (OS/2; I) Date: 2000-03-02T00:00:00+00:00 List-Id: In article <38BD80CD.4462065@ftw.rsc.raytheon.com>, Wes Groleau wrote: > > [Ada.Strings.Unbounded.Unbounded_String is] actually exhibit A > > for the kind of thing I'm complaining about. How > > do the authors of that package know that I have a system where its > > appropriate to perform "use"s? > > Or why do they assume you don't work in a shop that > labels "use" a mortal sin? > > These shops exist, and though I disagree with their > attitude, I think it was inappropriate for the 9X designers > to force them to choose between their religion > and readability. > > (Or to force employees of such a shop to choose between > the boss's rules and readability.) > > Revision suggestion (yes, I know this is the wrong address): > We're stuck with these redundant names, since some are already > in use. But next revision, packages like unbounded could, via > 'renames,' provide alternate names that won't look stupid > in an anti-use shop. The design of the Ada language assumes that you use the entire language. If you choose to subset the language, some adjustments may need to be made, but since3 you chose to do the subsetting, it is up to you to undo the damage, if any, caused by that. If you have banned use clauses, then yes, the otherwise nicely chosen names in Ada.Strings.Unbounded will be annoying, so it is up to you provide a package with renamings that match your particular restrictive usage and rules. It is unreasonable to ask that the RM anticipate all such ill-advised subsetting rules, and somehow compensate for them in advance. Sent via Deja.com http://www.deja.com/ Before you buy.