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.3 required=5.0 tests=BAYES_00, REPLYTO_WITHOUT_TO_CC 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-06 20:30:03 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!cyclone.bc.net!sunqbc.risq.qc.ca!howland.erols.net!newsfeed.mindspring.net.MISMATCH!newsfeed0.news.atl.earthlink.net!news.atl.earthlink.net!news.mindspring.net!not-for-mail From: Richard Riehle Newsgroups: comp.lang.ada Subject: Re: Localized Variable Declaration Date: Thu, 06 Jun 2002 20:32:35 -0700 Organization: AdaWorks Software Engineering Message-ID: <3D002953.E246C30D@adaworks.com> References: <5ee5b646.0206020710.3493fdfc@posting.google.com> Reply-To: richard@adaworks.com NNTP-Posting-Host: 3f.bb.6c.65 Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Server-Date: 7 Jun 2002 03:29:42 GMT X-Mailer: Mozilla 4.7 [en] (Win98; I) X-Accept-Language: en Xref: archiver1.google.com comp.lang.ada:25429 Date: 2002-06-07T03:29:42+00:00 List-Id: Robert Dewar wrote: > Hmmm! I don't think incompetent typing skills are a good > argument to introduce. Most people in fact will type > the shifted {} faster. I can quite believe that some > would type it slower (for instance if they do not have > finger memory of where the curly keys are), but in any > case speed of typing is a 100% irrelevant argument when > it comes to discussingt the design of Ada. Also, when using an industrial-strength editor, one can configure the keyboard to reverse the [ with the { and the ] with the }. This is certainly faster than typing begin and end. That being said, I dislike the fact that the { } in the C family of languages does not let me name them so I can easily detect their relationship to each other. For example, I would like to be able to do what I can do in Ada with begin ... end. Consider, Block_Name: { some C code here } Block_Name; and have it detected and verified by the compiler. Richard Riehle