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,38fc011071df5a27 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2003-05-28 19:03:46 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!logbridge.uoregon.edu!newshub.sdsu.edu!newsfeed2.earthlink.net!newsfeed.earthlink.net!stamper.news.pas.earthlink.net!newsread1.prod.itd.earthlink.net.POSTED!not-for-mail Message-ID: <3ED56A6D.7010302@spam.com> From: Jeffrey Carter Organization: jrcarter commercial-at acm [period | full stop] org User-Agent: Mozilla/5.0 (Windows; U; Win98; en-US; rv:1.0.0) Gecko/20020530 X-Accept-Language: en-us, en MIME-Version: 1.0 Newsgroups: comp.lang.ada Subject: Re: Ideas for Ada 200X References: <6a90b886.0305262344.1d558079@posting.google.com> <3ED41344.7090105@spam.com> <3ED46D81.FF62C34F@0.0> <3ED46E07.4340CABC@0.0> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Date: Thu, 29 May 2003 02:01:34 GMT NNTP-Posting-Host: 63.184.17.204 X-Complaints-To: abuse@earthlink.net X-Trace: newsread1.prod.itd.earthlink.net 1054173694 63.184.17.204 (Wed, 28 May 2003 19:01:34 PDT) NNTP-Posting-Date: Wed, 28 May 2003 19:01:34 PDT Xref: archiver1.google.com comp.lang.ada:37963 Date: 2003-05-29T02:01:34+00:00 List-Id: Stuart Palin wrote: > > 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; This is why I always end a line in such a statement with an operator! "--" was chosen because it is (was?) the standard way to represent an em-dash with a typewriter. In the good old days when Ada was originally being designed it was fairly common to write code on paper by hand and put periferal comments to the right after a dash, so that may be why this was chosen. -- Jeff Carter "Hello! Smelly English K...niggets." Monty Python & the Holy Grail