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/08 Message-ID: <8a6fms$6c1$1@nnrp1.deja.com>#1/1 X-Deja-AN: 594860618 References: <38BC2EB3.2639372B@acm.org> <89l6aj$s5e$1@wanadoo.fr> <1e6xw1b.crkgd5nhvbzuN%claveman@inetworld.net> <8a0hio$qos$1@nnrp1.deja.com> <8a1egu$h91$1@nnrp1.deja.com> <8a3959$qmg$1@nnrp1.deja.com> X-Http-Proxy: 1.0 x35.deja.com:80 (Squid/1.1.22) for client 205.232.38.14 Organization: Deja.com - Before you buy. X-Article-Creation-Date: Wed Mar 08 21:12:00 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-08T00:00:00+00:00 List-Id: In article <8a3959$qmg$1@nnrp1.deja.com>, Ted Dennison wrote: > I would further claim that, given this fact, it is improper to > choose a naming convention for a reusable package that might > be used by someone in one of the above situations, that looks > stupid with the package name on the front when there is a > convention available that will not look > stupid under either either usage. Depends, for those of us who like to use the whole language, it looks "stupid" to have unnecessary qualification all over the place. As to whether your project must worry about the issues you raise (e.g. reading the code on paper), that's of course project specific. It's interesting that the GNAT sources themselves use "USE" very liberally, and everyone we know who has dug into these sources reasonably deeply has found them extremely easy to use. Yes, I occasionally issue a gnatfind command to locate where an entity is defined (this by the way takes essentially zero time even in a very large program), but only very occasionally, and I would find the sources much less readable if they were fully dotted. It's partially a matter of taste, but to argue that your approach of subsetting the language is the only "proper" approach seems extreme. Yes, I realize that you are talking about reusable packages, but you are taking the position that the design of Ada 95 itself is improper. Everyone is entitled to such opinions of course, but clearly you place yourself in a small minority if you think Ada 95 is improperly designed in this respect (no one even raised this issue in either the DR's or WG9 during the design for example) Sent via Deja.com http://www.deja.com/ Before you buy.