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,FORGED_GMAIL_RCVD, FREEMAIL_FROM autolearn=no autolearn_force=no version=3.4.4 Path: border2.nntp.dca1.giganews.com!border1.nntp.dca1.giganews.com!nntp.giganews.com!usenet.blueworldhosting.com!feeder01.blueworldhosting.com!peer01.iad.highwinds-media.com!news.highwinds-media.com!feed-me.highwinds-media.com!post01.iad.highwinds-media.com!fx21.iad.POSTED!not-for-mail From: Shark8 User-Agent: Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:34.0) Gecko/20100101 Thunderbird/34.0a1 MIME-Version: 1.0 Newsgroups: comp.lang.ada Subject: Re: Is there a way to do large block of source code comments References: <8fd27434-43c2-4bd1-b72b-dd7a0ef5af75@googlegroups.com> In-Reply-To: <8fd27434-43c2-4bd1-b72b-dd7a0ef5af75@googlegroups.com> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit Message-ID: X-Complaints-To: abuse@teranews.com NNTP-Posting-Date: Wed, 03 Sep 2014 15:32:24 UTC Organization: TeraNews.com Date: Wed, 03 Sep 2014 09:32:21 -0600 X-Received-Bytes: 2070 X-Received-Body-CRC: 3144911452 X-Original-Bytes: 2085 Xref: number.nntp.dca.giganews.com comp.lang.ada:188831 Date: 2014-09-03T09:32:21-06:00 List-Id: On 02-Sep-14 18:07, robin.vowels@gmail.com wrote: >> No, this was explicitly omitted. See the Ada-83 Rationale 2.1: "Single comments >> >that are larger than one line are not provided. Such comments would require a >> >closing comment delimiter and this would again raise the dangers associated with >> >the (unintentional) omission of the closing delimiter: entire sections of a >> >program could be ignored by the compiler without the programmer realizing it, so >> >that the program would not mean what he thinks. Long comments can be written as >> >a succession of single line comments, thus combining elegance with safety." > > The above quotation is mere hype, like the author's justification for omitting > exponentiation in Pascal, somehow more convenient to use log and exp instead! No, the above is a quotation from the Ada Rationale. It says that only single-line comments terminated by the end of the line were chosen so that there was no way that closing a multiline comment could be forgotten. Period. > Live parsing editors are useful tools, because they highlight > code segments (including comments). What has this got to do with *anything* WRT comments?