comp.lang.ada
 help / color / mirror / Atom feed
From: Shark8 <OneWingedShark@gmail.com>
Subject: Re: Is there a way to do large block of source code comments
Date: Thu, 11 Sep 2014 19:52:00 -0700
Date: 2014-09-11T19:52:00-07:00	[thread overview]
Message-ID: <YksQv.242445$fF3.239889@fx31.iad> (raw)
In-Reply-To: <65680926-cda9-40a6-8f45-3a1f80452020@googlegroups.com>

On 9/3/2014 7:37 PM, robin.vowels@gmail.com wrote:
> On Thursday, September 4, 2014 1:32:21 AM UTC+10, Shark8 wrote:
>> On 02-Sep-14 18:07, r.nospam@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.
>
> But it's still hype.


hype

verb (used with object), hyped, hyping.
1. to stimulate, excite, or agitate (usually followed by up):
2. to create interest in by flamboyant or dramatic methods; promote or 
publicize showily: a promoter who knows how to hype a prizefight.
3. to intensify (advertising, promotion, or publicity) by ingenious or 
questionable claims, methods, etc. (usually followed by up).
4. to trick; gull.

noun
5. exaggerated publicity; hoopla.
6. an ingenious or questionable claim, method, etc., used in 
advertising, promotion, or publicity to intensify the effect.
7. a swindle, deception, or trick.

-----
I really don't see how it's hype.
What definition are you using?

>> 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?
>
> Um, comments highlighted in a different color from the code
> make it clear which is commented.
>

So?
If that's the be-all / end-all of your editor then it's no wonder CS is 
in such a horrid state -- editors 'understanding' syntax and semantics 
well enough for syntax-highlighting is a pretty low bar.

I suggest you read up on research on things like DIANA and the R-1000 
(80's tech) which will illuminate you on just how poorly tool 
development has progressed [regressed?] over the past several decades.


  parent reply	other threads:[~2014-09-12  2:52 UTC|newest]

Thread overview: 48+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-09-01 17:24 Is there a way to do large block of source code comments gdotone
2014-09-01 19:04 ` Jeffrey Carter
2014-09-03  0:07   ` robin.vowels
2014-09-03  0:44     ` Jeffrey Carter
2014-09-03  1:15       ` gdotone
2014-09-03  4:17         ` J-P. Rosen
2014-09-03  8:04       ` Brian Drummond
2014-09-03  0:50     ` Adam Beneschan
2014-09-04  2:30       ` robin.vowels
2014-09-04 15:12         ` Adam Beneschan
2014-09-03  8:22     ` Georg Bauhaus
2014-09-03  8:28     ` Stefan.Lucks
2014-09-03  8:23       ` gdotone
2014-09-03  8:57         ` Pascal Obry
2014-09-03 15:12           ` Stefan.Lucks
2014-09-03 15:52             ` Pascal Obry
2014-09-03 17:48               ` Georg Bauhaus
2014-09-03 18:28                 ` Peter Chapin
2014-09-03 18:52               ` Adam Beneschan
2014-09-03 21:47                 ` gautier_niouzes
     [not found]                   ` <91e173a8-7451-4609-b141-ce3c6b19455f@googlegroups.com>
2014-09-04  5:56                     ` Pascal Obry
2014-09-03 22:42                 ` Georg Bauhaus
2014-09-03 21:02               ` Stefan.Lucks
2014-10-01 21:15                 ` Randy Brukardt
2014-09-03 16:58       ` Jeffrey Carter
2014-09-04 18:19       ` Keith Thompson
2014-09-03 15:32     ` Shark8
2014-09-04  2:37       ` robin.vowels
2014-09-04  7:20         ` Georg Bauhaus
2014-09-04 12:46           ` robin.vowels
2014-09-04 15:44             ` G.B.
2014-09-12  2:52         ` Shark8 [this message]
2014-09-01 19:08 ` Niklas Holsti
2014-09-01 20:34   ` G.B.
2014-09-01 20:53     ` Niklas Holsti
2014-09-02 13:14       ` G.B.
2014-09-02 14:38         ` kalvin.news
2014-09-02 23:33         ` Randy Brukardt
2014-09-03  8:17           ` Georg Bauhaus
2014-09-01 21:15   ` Simon Wright
2014-09-02 15:01   ` Adam Beneschan
2014-09-02 16:35     ` Simon Wright
2014-09-02 17:14     ` Jeffrey Carter
2014-09-02 19:02     ` Niklas Holsti
2014-09-02 20:10       ` mockturtle
2014-09-02 23:36     ` Randy Brukardt
2014-09-01 19:13 ` Anh Vo
2014-09-01 21:04 ` gdotone
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox