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.9 required=5.0 tests=BAYES_00,FREEMAIL_FROM, FREEMAIL_REPLY autolearn=no 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-02 16:58:35 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!newsfeed.icl.net!colt.net!news.tele.dk!not-for-mail Message-ID: <3CFAB12A.6050204@yahoo.com> Date: Mon, 03 Jun 2002 01:58:34 +0200 From: David Rasmussen User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:0.9.9) Gecko/20020412 Debian/0.9.9-6 MIME-Version: 1.0 Newsgroups: comp.lang.ada Subject: Re: Localized Variable Declaration References: <3CF77998.9040806@yahoo.com> <3CF77CDA.3090805@yahoo.com> <3CF78D3D.3030400@yahoo.com> <3CF79AAD.70501@yahoo.com> <8db3d6c8.0206011821.1e64ae72@posting.google.com> <3CF9EC9F.9020203@yahoo.com> <5ee5b646.0206020706.7f8c690c@posting.google.com> <3CFA3972.30904@yahoo.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Organization: TDC Internet NNTP-Posting-Host: 195.215.62.2 X-Trace: 1023062314 dtext.news.tele.dk 50872 195.215.62.2 X-Complaints-To: abuse@post.tele.dk Xref: archiver1.google.com comp.lang.ada:25228 Date: 2002-06-03T01:58:34+02:00 List-Id: martin.m.dowie wrote: > "David Rasmussen" wrote in message > news:3CFA3972.30904@yahoo.com... > >>>No, you have not explained why it is useful to have special >>>syntax to say that the scope is from here to the end, rather than >>>explicitly specifying the scope. I find that >> >>Sure I haven't. And that wasn't what I said. This thread is _not_ about >>local scopes, for me. It is about declaring variables in a just-in-time >>fashion when they are needed. I didn't start talking about local scopes > > etc. > > Hmmmmmm, isn't that kind of ducking the issue? Surely there must be some > debate about the ramifications of such a style? (and for sure scope must > play > a part in such a discussion) > It surely is relevant. But I insist on talking about the times when it is a _good_ thing to do it the C++ way, as I have explained. There _are_ many places where it is a good way of doing things and there are very sound arguments as to why it is a good idea. The idea is a good one, regardless of scope issues. /David