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,FROM_NUMERIC_TLD autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,38fc011071df5a27 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2003-05-28 01:06:34 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!logbridge.uoregon.edu!bigboote.WPI.EDU!news.tufts.edu!uunet!dca.uu.net!ash.uu.net!lore.csc.com!baen1673807.greenlnk.net!baen1673807!not-for-mail From: Stuart Palin Newsgroups: comp.lang.ada Subject: Re: Ideas for Ada 200X Date: Wed, 28 May 2003 09:06:31 +0100 Organization: BAE SYSTEMS Avionic Systems Message-ID: <3ED46E07.4340CABC@0.0> References: <6a90b886.0305262344.1d558079@posting.google.com> <3ED41344.7090105@spam.com> <3ED46D81.FF62C34F@0.0> NNTP-Posting-Host: 20.44.241.70 Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Trace: lore.csc.com 1054109192 384 20.44.241.70 (28 May 2003 08:06:32 GMT) X-Complaints-To: abuse@news.csc.com NNTP-Posting-Date: Wed, 28 May 2003 08:06:32 +0000 (UTC) X-Mailer: Mozilla 4.5 [en] (WinNT; I) X-Accept-Language: en X-Original-NNTP-Posting-Host: rc2966.rochstr.gmav.gecm.com X-Original-Trace: 28 May 2003 09:04:19 +0100, rc2966.rochstr.gmav.gecm.com Xref: archiver1.google.com comp.lang.ada:37878 Date: 2003-05-28T09:06:31+01:00 List-Id: Jeffrey Carter wrote: > > Frank wrote: > > What about the possibility of commenting several lines like /* ...... */? > > This was considered and explicitly rejected by the original Ada design > team as being too error-prone. And then they chose '--' as the comment delimiter! I have always found this rather odd as it seems to me to be a potential source of 'difficult to spot' typo errors. Consider, The_Result := Meaningful_Ident_1 -- Meaningful_Ident_2 + Meaningful_Ident_3; [OK Any decent form of testing should find the mistake - but surely the intention was to reduce the likelihood of errors getting through compilation] I agree with the reasons for not allowing block comments, but perhaps the choice of comment delimiter could be considered. -- Stuart Palin