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-10 20:33:06 PST Path: supernews.google.com!sn-xit-02!supernews.com!news.gv.tsc.tdk.com!falcon.america.net!sunqbc.risq.qc.ca!headwall.stanford.edu!newsfeed.stanford.edu!feed.textport.net!newsranger.com!www.newsranger.com!not-for-mail Newsgroups: comp.lang.ada From: Ted Dennison Sender: usenet@www.newsranger.com References: <25%y6.2364$jz.201607@www.newsranger.com> <3ACDB29E.45B91316@earthlink.net> <3AD2788C.7F2BAFA3@worldnet.att.net> Subject: Re: newbie can't get exceptions to work! Message-ID: Date: Tue, 10 Apr 2001 21:48:05 GMT NNTP-Posting-Host: 209.208.22.130 X-Complaints-To: abuse@newsranger.com X-Trace: www.newsranger.com 986939285 209.208.22.130 (Tue, 10 Apr 2001 17:48:05 EDT) NNTP-Posting-Date: Tue, 10 Apr 2001 17:48:05 EDT Organization: http://www.newsranger.com Xref: supernews.google.com comp.lang.ada:6732 Date: 2001-04-10T21:48:05+00:00 List-Id: In article , Brian Rogoff says... > >On Tue, 10 Apr 2001, James Rogers wrote: >> Robert A Duff wrote: >> 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() > >That's a very good point. I use that practice in all of my code where the >length of a subprogram or conditional becomes a bit too long. I suppose, >using the kind of argument used to justify some Ada restrictions, that >someone could say that I should factor the code better. :-) I should point out that if your putatative language were to *require* those endings somehow (eg: ditch the "// end" from the above constuctions), it would annul most (if not all) of my complaints against using curly-braces. --- T.E.D. homepage - http://www.telepath.com/dennison/Ted/TED.html home email - mailto:dennison@telepath.com