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=0.2 required=5.0 tests=BAYES_00,INVALID_MSGID, REPLYTO_WITHOUT_TO_CC autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,d1df6bc3799debed X-Google-Attributes: gid103376,public From: "John G. Volan" Subject: Re: Not intended for use in medical, Date: 1997/05/12 Message-ID: <3377B6B9.3611@sprintmail.com>#1/1 X-Deja-AN: 241178892 References: <3.0.32.19970423164855.00746db8@mail.4dcomm.com> <5kmek2$9re@bcrkh13.bnr.ca> <5ktldo$2pp@bcrkh13.bnr.ca> <3377907B.46C8@this.message> Reply-To: johnvolan@sprintmail.com Newsgroups: comp.lang.ada Date: 1997-05-12T00:00:00+00:00 List-Id: W. Wesley Groleau (Wes) wrote: > > Kaz Kylheku wrote: > > What's the point of calling something ``Loop_Counter'' instead of ``i''? > > A good Ada programmer will often choose something with some meaning > rather > than _either_ `Loop_Counter'' or ``i'' > > for Hue in Colors loop .... Yes, this is certainly much better, but (to cross-reference another thread) this would be even better as any one of the following: for Next_Hue in Hue loop... -- Booch's style (once mine) for Hue in Hue_Type loop... -- Cohen's style (now mine) for Hue in Hues loop... or for Next_Color in Color loop... -- Booch's style (once mine) for Color in Color_Type loop... -- Cohen's style (now mine) for Color in Colors loop... ------------------------------------------------------------------------ Internet.Usenet.Put_Signature (Name => "John G. Volan", Home_Email => "johnvolan@sprintmail.com", Slogan => "Ada95: The World's *FIRST* International-Standard OOPL", Disclaimer => "These opinions were never defined, so using them " & "would be erroneous...or is that just nondeterministic now? :-) "); ------------------------------------------------------------------------