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 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,79bbf7e359159d0d X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2001-04-09 20:06:03 PST Path: supernews.google.com!sn-xit-03!supernews.com!nntp.cs.ubc.ca!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!news.stealth.net!204.127.161.2.MISMATCH!wn2feed!worldnet.att.net!135.173.83.71!wnfilter1!worldnet-localpost!bgtnsc04-news.ops.worldnet.att.net.POSTED!not-for-mail Message-ID: <3AD2788C.7F2BAFA3@worldnet.att.net> From: James Rogers X-Mailer: Mozilla 4.76 [en] (Win98; U) X-Accept-Language: en MIME-Version: 1.0 Newsgroups: comp.lang.ada Subject: Re: newbie can't get exceptions to work! References: <25%y6.2364$jz.201607@www.newsranger.com> <3ACDB29E.45B91316@earthlink.net> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Date: Tue, 10 Apr 2001 03:03:36 GMT NNTP-Posting-Host: 12.74.129.203 X-Complaints-To: abuse@worldnet.att.net X-Trace: bgtnsc04-news.ops.worldnet.att.net 986871816 12.74.129.203 (Tue, 10 Apr 2001 03:03:36 GMT) NNTP-Posting-Date: Tue, 10 Apr 2001 03:03:36 GMT Organization: AT&T Worldnet Xref: supernews.google.com comp.lang.ada:6691 Date: 2001-04-10T03:03:36+00:00 List-Id: Robert A Duff wrote: > > Well, it's not just "begin end", but also "if ... end if", "procedure P > ... end P", and so forth. > > Anyway, I like being able to see what the "end" is end of (as in "end > if" or "end P"), so I don't like just "}". Even more interesting is the common practice among experienced C, C++, and Java programmers to comment the closing "}" with an indication of the block being closed: } // end if or } // end getCount() If this is a common practice, then how are "{}" better than "begin end"? The need to use "{}" then follow up with clarifying comments indicates that "{}" is, in fact, less readable. Jim Rogers Colorado Springs, Colorado USA