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=-0.3 required=5.0 tests=BAYES_00, REPLYTO_WITHOUT_TO_CC autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,3a6aafa384c96cc6 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2001-10-02 08:45:12 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!cpk-news-hub1.bbnplanet.com!cambridge1-snf1.gtei.net!news.gtei.net!bos-service1.ext.raytheon.com!dfw-service2.ext.raytheon.com.POSTED!not-for-mail Message-ID: <3BB9DAA4.42A3937A@sparc01.ftw.rsc.raytheon.com> From: Wes Groleau Reply-To: wwgrol@sparc01.ftw.rsc.raytheon.com X-Mailer: Mozilla 4.77 [en] (Windows NT 5.0; U) X-Accept-Language: en,es-MX,es,pt,fr-CA,fr MIME-Version: 1.0 Newsgroups: comp.lang.ada Subject: Re: with child: access to parent References: <9pc3jp$old$1@infosun2.rus.uni-stuttgart.de> <4Zgu7.7342$sh6.2399083554@newssvr30.news.prodigy.com> <9pchrq$8vt$1@infosun2.rus.uni-stuttgart.de> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Date: Tue, 02 Oct 2001 10:17:56 -0500 NNTP-Posting-Host: 151.168.144.162 X-Complaints-To: news@ext.ray.com X-Trace: dfw-service2.ext.raytheon.com 1002035906 151.168.144.162 (Tue, 02 Oct 2001 10:18:26 CDT) NNTP-Posting-Date: Tue, 02 Oct 2001 10:18:26 CDT Organization: Raytheon Company Xref: archiver1.google.com comp.lang.ada:13627 Date: 2001-10-02T10:17:56-05:00 List-Id: Ted Dennison wrote: > it out yourself. Essentially, all those "with"s but the last one are redundant. Some style guides suggest _always_ listing the parent specifically if anything in it is referenced. I guess the idea is to prevent compile errors if the child references are removed. But how many places actually take the trouble of removing unused withs? And what is the more expensive way to find the need to add one--to carefully eyeball the code, or to compile and look at the messages? -- Wes Groleau http://freepages.rootsweb.com/~wgroleau