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.3 required=5.0 tests=BAYES_00,INVALID_MSGID, MSGID_RANDY autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,7508aa0d80b8bf66 X-Google-Attributes: gid103376,public From: Robert Dewar Subject: Re: Inheritance and Polymorphism in Ada !! Date: 1999/10/21 Message-ID: <7um9c2$dmd$1@nnrp1.deja.com>#1/1 X-Deja-AN: 538616116 References: <7u64k3$l1d$1@hiline.shinbiro.com> <3806DC34.1513E8B1@frqnet.de> <7u7o36$tv8$1@nntp6.atl.mindspring.net> <38077b65_1@news1.prserv.net> <7uitmi$2vg$1@nnrp1.deja.com> X-Http-Proxy: 1.0 x43.deja.com:80 (Squid/1.1.22) for client 205.232.38.14 Organization: Deja.com - Before you buy. X-Article-Creation-Date: Thu Oct 21 05:46:45 1999 GMT X-MyDeja-Info: XMYDJUIDrobert_dewar Newsgroups: comp.lang.ada X-Http-User-Agent: Mozilla/4.04 [en] (OS/2; I) Date: 1999-10-21T00:00:00+00:00 List-Id: In article , Robert A Duff wrote: > Robert Dewar 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.