Sujet : Re: Block Comments Or Rest-Of-Line Comments?
De : tr.17687 (at) *nospam* z991.linuxsc.com (Tim Rentsch)
Groupes : comp.lang.cDate : 22. Mar 2024, 14:27:23
Autres entêtes
Organisation : A noiseless patient Spider
Message-ID : <86edc2l7lw.fsf@linuxsc.com>
References : 1 2 3 4
User-Agent : Gnus/5.11 (Gnus v5.11) Emacs/22.4 (gnu/linux)
cross@spitfire.i.gajendra.net (Dan Cross) writes:
In article <86r0g3liii.fsf@linuxsc.com>,
Tim Rentsch <tr.17687@z991.linuxsc.com> wrote:
>
scott@slp53.sl.home (Scott Lurndal) writes:
>
Lawrence D'Oliveiro <ldo@nz.invalid> writes:
>
The original comment delimiters in C were copied from PL/I: everything
>
Cite?
>
Seen in the B language manual:
>
Comments are delimited as in PL/I by /* and */.
>
https://www.bell-labs.com/usr/dmr/www/kbman.html
>
Note that this style of commenting was not present in
B's precursor language, BCPL.
>
It would be appropriate to qualify this statement with some kind
of timeframe as BCPL is still used (albeit not widely, I assume).
The PL/I style of commenting was not present in BCPL at the time B
was being defined. My source is MIT Project Mac Memorandum-M-352
dated July 21, 1967. I expect this document can be found on the
net but I don't have a link for it.