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,2a687662f09731bb X-Google-Attributes: gid103376,public X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!postnews.google.com!z14g2000cwz.googlegroups.com!not-for-mail From: brian.b.mcguinness@lmco.com Newsgroups: comp.lang.ada Subject: Re: Don't use the "use" clause Date: 24 Jan 2006 05:30:57 -0800 Organization: http://groups.google.com Message-ID: <1138109457.154536.308220@z14g2000cwz.googlegroups.com> References: <1132227919.9036.51.camel@sonnenregen> <1132233886.11218.11.camel@sonnenregen> <1w17gk3manse1$.1kcsd6cj5scen$.dlg@40tude.net> <43d5f5cf$1_1@glkas0286.greenlnk.net> <1wq3tkzfwt0bw.1ad4zqlgln451$.dlg@40tude.net> NNTP-Posting-Host: 192.153.135.59 Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" X-Trace: posting.google.com 1138109462 14806 127.0.0.1 (24 Jan 2006 13:31:02 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Tue, 24 Jan 2006 13:31:02 +0000 (UTC) In-Reply-To: <1wq3tkzfwt0bw.1ad4zqlgln451$.dlg@40tude.net> User-Agent: G2/0.2 X-HTTP-UserAgent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; .NET CLR 1.1.4322),gzip(gfe),gzip(gfe) X-HTTP-Via: 1.0 denali.sed.monmouth.army.mil:80 (squid/2.5.STABLE5) Complaints-To: groups-abuse@google.com Injection-Info: z14g2000cwz.googlegroups.com; posting-host=192.153.135.59; posting-account=R0BKUQwAAAAEH1zhMKQoEzkWfZJu3USj Xref: g2news1.google.com comp.lang.ada:2606 Date: 2006-01-24T05:30:57-08:00 List-Id: I do not have a lot of experience with Ada. I am working on a time and date package that uses routines from standard Ada packages. At first I tried writing the code without any "use" clauses but I kept running into problems so I finally gave up in frustration and "used" all of the standard packages I "with"ed. I suspect that many other people have the same experience. Frankly, I see no reason to avoid "use". The whole point of providing overloading is so that you can have several functions or procedures with the same name. And I am perfectly happy to ignore any coding guideline that results in endless frustration without serving any useful purpose. --- Brian