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-Thread: 103376,c39ad3e35a7690a9 X-Google-NewGroupId: yes X-Google-Attributes: gida07f3367d7,domainid0,public,usenet X-Google-Language: ENGLISH,UTF8 Received: by 10.68.135.231 with SMTP id pv7mr387534pbb.8.1329294962891; Wed, 15 Feb 2012 00:36:02 -0800 (PST) Path: wr5ni27232pbc.0!nntp.google.com!news1.google.com!news.glorb.com!feeder.erje.net!eternal-september.org!feeder.eternal-september.org!mx04.eternal-september.org!.POSTED!not-for-mail From: Simon Wright Newsgroups: comp.lang.ada Subject: Re: Convention for naming of packages Date: Wed, 15 Feb 2012 08:36:01 +0000 Organization: A noiseless patient Spider Message-ID: References: <4f355230$0$21451$ba4acef3@reader.news.orange.fr> Mime-Version: 1.0 Injection-Info: mx04.eternal-september.org; posting-host="dFCm8HWntFqmDIilBLqEJQ"; logging-data="20263"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX193tFByS5vZnr8tPZEDRKxwkGL/sXEK/ps=" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.3 (darwin) Cancel-Lock: sha1:fdVwFThEoaRt6NrQ66mZamcGLdo= sha1:bY6NswWF2GI+l3iH5gjeg7AAJq8= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Date: 2012-02-15T08:36:01+00:00 List-Id: "J-P. Rosen" writes: > Le 15/02/2012 05:09, Simon Wright a écrit : >> I've adopted AdaCore's convention to use J instead of the (potentially >> confusing) I in >> >> for J in Foo'Range loop > > Recently, I adopted the convention to use the first letter of the array > (rather than the systematic I): > > for T in Tab'range... > for A in Arr'range... I see your and Niklas's point, but it seems less strong in for J in 0 .. DOM.Core.Nodes.Length (Nodes) - 1 loop (I already have an N in scope; I think I cut it a bit fine there, N's scope is 110 lines in the particular instance)