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-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,96ae138aab3beb03 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2002-06-01 19:21:51 PST Path: archiver1.google.com!postnews1.google.com!not-for-mail From: nma124@hotmail.com (steve_H) Newsgroups: comp.lang.ada Subject: Re: Localized Variable Declaration Date: 1 Jun 2002 19:21:51 -0700 Organization: http://groups.google.com/ Message-ID: <8db3d6c8.0206011821.1e64ae72@posting.google.com> References: <3CF77998.9040806@yahoo.com> <3CF77CDA.3090805@yahoo.com> <3CF78D3D.3030400@yahoo.com> <3CF79AAD.70501@yahoo.com> NNTP-Posting-Host: 216.101.234.30 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Trace: posting.google.com 1022984511 12976 127.0.0.1 (2 Jun 2002 02:21:51 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: 2 Jun 2002 02:21:51 GMT Xref: archiver1.google.com comp.lang.ada:25183 Date: 2002-06-02T02:21:51+00:00 List-Id: David Rasmussen wrote in message news:<3CF79AAD.70501@yahoo.com>... > > The variables are declared when used, and not some centralized place in the > beginning. > But this is why having variables declared in ONE place is better. I always know where to go look to find where the variable was created. In C++, I have to go scan the function code up and down to find where it was declared. How could this be better?