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-06 14:44:06 PST Path: archiver1.google.com!news2.google.com!news.maxwell.syr.edu!in.100proofnews.com!in.100proofnews.com!news.moat.net!ken-transit.news.telstra.net!news.telstra.net!news-server.bigpond.net.au!53ab2750!not-for-mail From: Dale Stanbrough Newsgroups: comp.lang.ada Subject: Re: Clause "with and use" References: <3FA2CDCB.500F4AF0@fakeaddress.nil> <3FA3B412.AF3BEB96@fakeaddress.nil> <3FA6D275.924D5750@fakeaddress.nil> <1067951806.729117@master.nyc.kbcfp.com> <1068123815.335508@master.nyc.kbcfp.com> User-Agent: MT-NewsWatcher/3.3b1 (PPC Mac OS X) Message-ID: Date: Thu, 06 Nov 2003 22:42:22 GMT NNTP-Posting-Host: 144.132.42.201 X-Complaints-To: abuse@bigpond.net.au X-Trace: news-server.bigpond.net.au 1068158542 144.132.42.201 (Fri, 07 Nov 2003 09:42:22 EST) NNTP-Posting-Date: Fri, 07 Nov 2003 09:42:22 EST Organization: BigPond Internet Services Xref: archiver1.google.com comp.lang.ada:2172 Date: 2003-11-06T22:42:22+00:00 List-Id: In article <1068123815.335508@master.nyc.kbcfp.com>, Hyman Rosen wrote: > I mean that an Ada program can contain > with a, b, c, d; > use a, b, c, d; > and it may also contain > with a, b, c, d; > use a, c, d; I always use the style... with a; use a; with b; with c; use c; with d; use d; so that you don't have to match withs/uses together. I also typically block the withs so that all of the ada routines go together... with Ada.Text_IO; use Ada.Text_IO; with Ada.Unbounded_Strings; use Ada.Unbounded_Strings; with Domain_Specific_Package; use Domain_Specific_Package; etc. which I find increases readability enormously. Dale -- dstanbro@spam.o.matic.bigpond.net.au