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,FREEMAIL_FROM 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-08 11:40:52 PST Path: archiver1.google.com!postnews1.google.com!not-for-mail From: 18k11tm001@sneakemail.com (Russ) Newsgroups: comp.lang.ada Subject: Re: Clause "with and use" Date: 8 Nov 2003 11:40:52 -0800 Organization: http://groups.google.com Message-ID: References: <3FA2CDCB.500F4AF0@fakeaddress.nil> <1067951806.729117@master.nyc.kbcfp.com> <1068123815.335508@master.nyc.kbcfp.com> <3FAAB12E.C7593B45@fakeaddress.nil> <3FACCBFB.9D288CF2@fakeaddress.nil> NNTP-Posting-Host: 63.194.87.148 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Trace: posting.google.com 1068320452 2993 127.0.0.1 (8 Nov 2003 19:40:52 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Sat, 8 Nov 2003 19:40:52 +0000 (UTC) Xref: archiver1.google.com comp.lang.ada:2260 Date: 2003-11-08T11:40:52-08:00 List-Id: Gautier Write-only wrote in message news:<3FACCBFB.9D288CF2@fakeaddress.nil>... > Preben Randhol: > > > 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. > > I agree that it's an optimum, but under the constraint > of the present syntax. I would be very happier if I could > have it so: > > [with and ]use > Gdk.Types, Gdk.Types.Keysyms, > Gtk, Gtk.Accel_Group, Gtk.Enums, > Gtkada.Handlers, > Glib, > Program_Intl; > > with > Window.Callbacks, Program_Callbacks, > Settings.Gui, > Welcome, Examine, Result, > Listing, Listing.Setup, Setup, > Gac.Help; > > Wouldn't you ? > It's nicer, a bit easier to manage and hopefully the > title of the unit below will appear already on the first page > of a listing... Once again, I agree completely. And I think that most of the people who disagree will reflexively defend the current Ada way no matter how solid your arguments. They are set in their ways. We can only hope that the people with the authority to change the language are more open minded.