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-18 05:46:33 PST Path: archiver1.google.com!news2.google.com!news.maxwell.syr.edu!newsfeed.media.kyoto-u.ac.jp!newsfeed.icl.net!newsfeed.fjserv.net!newsfeed.icl.net!newsfeed.fjserv.net!feed.news.nacamar.de!uninett.no!ntnu.no!not-for-mail From: Preben Randhol Newsgroups: comp.lang.ada Subject: Re: Clause "with and use" Date: Tue, 18 Nov 2003 13:46:33 +0000 (UTC) Organization: PVV Message-ID: References: <3FA2CDCB.500F4AF0@fakeaddress.nil> <3FA3B412.AF3BEB96@fakeaddress.nil> <3FA50083.10709@noplace.com> <3FA777E9.4030605@noplace.com> <3FA79F58.1020503@noplace.com> NNTP-Posting-Host: 129.241.83.82 X-Trace: tyfon.itea.ntnu.no 1069163193 27874 129.241.83.82 (18 Nov 2003 13:46:33 GMT) X-Complaints-To: usenet@itea.ntnu.no NNTP-Posting-Date: Tue, 18 Nov 2003 13:46:33 +0000 (UTC) User-Agent: slrn/0.9.8.0 (Linux) Xref: archiver1.google.com comp.lang.ada:2626 Date: 2003-11-18T13:46:33+00:00 List-Id: On 2003-11-18, Marius Amado Alves wrote: > I don't count keystrokes. My argument is for readability. I actually > find > > with Gtk.Arguments; use @; > with Gtk.Button; use @; > with Gtk.Handlers; It isn't readable or safe at all as the use statment is dependant on being at the correct location. > more readable than the canonical form. And more pleasing, which can also > be a quality factor. I find the @ rather ugly. > Natural language has lots of pronouns for good reason. And hey I just > found motivation for the symbol choice: @ = a = anaphoric pronoun :-) No the @ was used as: 2 fish @ $1.50 = $3 (at least here in Norway in the old days) > In the canonical form you must read 2 identifiers to verify that they > are equal. The pronoun has an immediate reading. It's more use at ? > communicative, more lingual. Curiously enough when I first suggested > "use @" I was kind of kidding--it was your very example that made me > realise it is actually more readable. Well, I don't agree. And I think you would agree on not making the ARM bigger by a construct which isn't robust at all :-) -- "Saving keystrokes is the job of the text editor, not the programming language."