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-Thread: 103376,e55245590c829bef X-Google-NewGroupId: yes X-Google-Attributes: gida07f3367d7,domainid0,public,usenet X-Google-Language: ENGLISH,UTF8 Path: g2news1.google.com!news4.google.com!feeder.news-service.com!94.75.214.39.MISMATCH!aioe.org!not-for-mail From: =?utf-8?Q?Yannick_Duch=C3=AAne_=28Hibou57?= =?utf-8?Q?=29?= Newsgroups: comp.lang.ada Subject: Re: Beginners question: Compound types, how-to? Date: Thu, 04 Nov 2010 02:19:01 +0100 Organization: Ada @ Home Message-ID: References: <86wroy58ff.fsf@gareth.avalon.lan> <86pqup5xfy.fsf@gareth.avalon.lan> <86y69d3rec.fsf@gareth.avalon.lan> <4cd19583$0$6977$9b4e6d93@newsspool4.arcor-online.net> <4cd1e5b0$0$6974$9b4e6d93@newsspool4.arcor-online.net> NNTP-Posting-Host: 4vQNEkQz8jPZLol/IaLwBQ.user.speranza.aioe.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed; delsp=yes Content-Transfer-Encoding: Quoted-Printable X-Complaints-To: abuse@aioe.org X-Notice: Filtered by postfilter v. 0.8.2 User-Agent: Opera Mail/10.63 (Win32) Xref: g2news1.google.com comp.lang.ada:15193 Date: 2010-11-04T02:19:01+01:00 List-Id: Le Wed, 03 Nov 2010 23:44:00 +0100, Georg Bauhaus a =C3=A9crit: > I'm picking up an argument about "just any book" found somewhere > in the three very long lines above ;-) Apologize to you Georg, As said a prior message, I still could not fix it, as Opera seems to not handle the option as expected. Hope to fix it later, for the time, it is manual formating (with your quote as a ruler). > You have just started to answer my question about finding > object names: What is the role of the just-any-book variable > in the loop in Run_Inventory? What does the loop do to the > just-any-book object? If there is some information, fine, > the name is very much at hand. Otherwise, I'd do the same > as Simon Wright and just use the letter B. As long as there > aren't too many symbols around. But I'd *not* use Book and > have readers sort out name spaces! This, is not formal argument, this is a matter of taste, just as is the difference between writing A_Book or Book_Type (I agree both, even if for practical reasons, I prefer the second one). Here, the matter of taste is that I really hate this kind of one letter Identifiers. Even if the scope is close, I will write Book, in plain word, because I want it (personal taste) and feel it is a way to return respect to the reader. The only place I use one letter identifiers, if where they may stand for common mathematical variables, like =E2=80=9CI=E2=80=9D, =E2=80=9CJ=E2=80=9D, =E2=80=9CK=E2=80=9D (while I a= void it too if ever I'm afraid this drop some important properties of the variables, at least, if it lack to express their properties if ever these ones are not obvious).