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 autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,6cb2525ffbfe23ce X-Google-Attributes: gid103376,public From: dennison@telepath.com Subject: Re: Why both "with" and "use"? Date: 1999/02/18 Message-ID: <7ahq7p$s6k$1@nnrp1.dejanews.com>#1/1 X-Deja-AN: 445778921 References: <36C5B28C.F32C43A4@jps.net> <7acj53$1vu@news3.newsguy.com> <7af68r$52o$1@platane.wanadoo.fr> X-Http-Proxy: 1.0 x8.dejanews.com:80 (Squid/1.1.22) for client 204.48.27.130 Organization: Deja News - The Leader in Internet Discussion X-Article-Creation-Date: Thu Feb 18 19:38:34 1999 GMT Newsgroups: comp.lang.ada X-Http-User-Agent: Mozilla/4.5 [en] (WinNT; I) Date: 1999-02-18T00:00:00+00:00 List-Id: In article <7af68r$52o$1@platane.wanadoo.fr>, "Jean-Pierre Rosen" wrote: > My personal religion is to apply the use to the smallest region where > it is necessary. If I need a package in a procedure, I put a use in ... > This provides me with very fine tracking of package usage. And since I > almost never use full names, the compiler will tell me if I forget to > "document" this way my usage of packages. > > Actually, I wonder how people who always use expanded names can know > precisely how packages are used... (Point of information: I hate cross > checking with X-refs ;-). A good point. But since named notation isn't used, you can't clearly see what in that scope is from what package. Without resorting to a cross-referencing tool you don't really know *how* the package is used, just roughly *where*. With named notation a simple textual search through the source will suffice. No fancy tool required. T.E.D. -----------== Posted via Deja News, The Discussion Network ==---------- http://www.dejanews.com/ Search, Read, Discuss, or Start Your Own