comp.lang.ada
 help / color / mirror / Atom feed
From: Robert Dewar <robert_dewar@my-deja.com>
Subject: Re: Inheritance and Polymorphism in Ada !!
Date: 1999/10/21
Date: 1999-10-21T00:00:00+00:00	[thread overview]
Message-ID: <7um9c2$dmd$1@nnrp1.deja.com> (raw)
In-Reply-To: wcchfjmx7y5.fsf@world.std.com

In article <wcchfjmx7y5.fsf@world.std.com>,
  Robert A Duff <bobduff@world.std.com> wrote:
> Robert Dewar <robert_dewar@my-deja.com> writes:
>
> > I like the extra level of indentation, it shows clearly the
> > scope of the variables that are introduced.
>
> Well, I suppose this is a matter of taste, to some extent.
>
> But why do you dislike this:
>
>     for I in Some_String'Range loop
>         X: Character renames Some_String(I); -- Not legal Ada.
>         X := To_Lower(X);
>         ... maybe other uses of X ...
>     end loop;

As you say it is a matter of taste, I prefer to see declarations
clearly marked off and separated from statements, this
separation helps *this* reader :-)


Sent via Deja.com http://www.deja.com/
Before you buy.




  parent reply	other threads:[~1999-10-21  0:00 UTC|newest]

Thread overview: 31+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1999-10-15  0:00 Inheritance and Polymorphism in Ada !! Chango Cho
1999-10-15  0:00 ` Andreas Winckler
1999-10-15  0:00   ` Stephane Barbey
1999-10-15  0:00   ` Richard D Riehle
1999-10-15  0:00     ` Matthew Heaney
1999-10-15  0:00       ` Richard D Riehle
1999-10-18  0:00       ` Robert Dewar
1999-10-23  0:00         ` Richard D Riehle
1999-10-24  0:00           ` Robert Dewar
1999-10-24  0:00             ` Brian Rogoff
1999-10-26  0:00               ` Robert Dewar
1999-10-25  0:00             ` Robert A Duff
1999-10-26  0:00               ` Robert Dewar
1999-10-26  0:00                 ` Robert A Duff
1999-10-18  0:00       ` Robert A Duff
1999-10-19  0:00         ` Robert Dewar
1999-10-20  0:00           ` Robert A Duff
1999-10-21  0:00             ` Paul Duquennoy
1999-10-21  0:00             ` Simon Wright
1999-10-21  0:00               ` Robert A Duff
1999-10-21  0:00             ` Robert Dewar [this message]
1999-10-22  0:00         ` Matthew Heaney
1999-10-15  0:00   ` tmoran
1999-10-15  0:00     ` tmoran
1999-10-15  0:00   ` Matthew Heaney
1999-10-18  0:00     ` Robert A Duff
1999-10-18  0:00       ` Brian Rogoff
1999-10-15  0:00   ` Lutz Donnerhacke
1999-10-18  0:00   ` Robert A Duff
1999-10-15  0:00 ` Ted Dennison
1999-10-15  0:00 ` Lutz Donnerhacke
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox