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,60e2922351e0e780 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2003-11-14 00:30:14 PST Path: archiver1.google.com!news2.google.com!fu-berlin.de!uni-berlin.de!tar-atanamir.cbb-automation.DE!not-for-mail From: Dmitry A. Kazakov Newsgroups: comp.lang.ada Subject: Re: Clause "with and use" Date: Fri, 14 Nov 2003 09:32:47 +0100 Message-ID: References: <1068561335.260886@master.nyc.kbcfp.com> <_rGsb.39$pv1.0@read3.inet.fi> NNTP-Posting-Host: tar-atanamir.cbb-automation.de (212.79.194.116) Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Trace: news.uni-berlin.de 1068798612 53145781 212.79.194.116 (16 [77047]) X-Newsreader: Forte Agent 1.8/32.548 Xref: archiver1.google.com comp.lang.ada:2477 Date: 2003-11-14T09:32:47+01:00 List-Id: On Thu, 13 Nov 2003 12:51:51 -0500, "Warren W. Gay VE3WWG" wrote: >I agree with this whole-heartedly for anything more than >a simple "hello world" program. This keeps the name >clashes to a minimum, and it prevents unintended >references to functions/procedures in the wrong package. >There may be some exceptions to this, but these should be >kept to a bare minimum, IMHO. Does anybody a statistics of name clashes in Ada? What percent is caused by the language design problems: A. "renames" actually does not rename, but creates a new, possibly conflicting view. A naive user would expect no conflict there. B. "subtype" used as a substitute for non-existing type renaming causes conflicts when "use"-d. I have a feeling that hatred towards "use" is largely caused by outside reasons like A. and B. -- Regards, Dmitry Kazakov http://www.dmitry-kazakov.de