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-07 00:48:53 PST Path: archiver1.google.com!news2.google.com!news.maxwell.syr.edu!newsfeed.media.kyoto-u.ac.jp!newsfeed.icl.net!newsfeed.fjserv.net!proxad.net!newsfeed.stueberl.de!newsfeed.vmunix.org!uio.no!ntnu.no!not-for-mail From: Preben Randhol Newsgroups: comp.lang.ada Subject: Re: Clause "with and use" Date: Fri, 7 Nov 2003 08:48:53 +0000 (UTC) Organization: PVV Message-ID: 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> <3FAAB12E.C7593B45@fakeaddress.nil> NNTP-Posting-Host: kiuk0156.chembio.ntnu.no X-Trace: tyfon.itea.ntnu.no 1068194933 288 129.241.83.82 (7 Nov 2003 08:48:53 GMT) X-Complaints-To: usenet@itea.ntnu.no NNTP-Posting-Date: Fri, 7 Nov 2003 08:48:53 +0000 (UTC) User-Agent: slrn/0.9.8.0 (Linux) Xref: archiver1.google.com comp.lang.ada:2192 Date: 2003-11-07T08:48:53+00:00 List-Id: On 2003-11-06, Gautier Write-only wrote: > And the list can be long in *certain* programs, *not* the > safety-critical code or whatever "special" code where Well I usually write it like this: with Gdk.Types.Keysyms; use Gdk.Types.Keysyms; with Gtk.Accel_Group; use Gtk.Accel_Group; with Gtk; use Gtk; with Glib; use Glib; with Gdk.Types; use Gdk.Types; with Gtkada.Handlers; use Gtkada.Handlers; with Gtk.Enums; use Gtk.Enums; with Program_Intl; use Program_Intl; with Window.Callbacks; with Program_Callbacks; with Settings.Gui; with Welcome; with Examine; with Result; with Listing; with Listing.Setup; with Setup; with Gac.Help; and I sort it so that all the with use pairs comes first. I find that nice and readable. -- "Saving keystrokes is the job of the text editor, not the programming language."