Path: ...!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail From: Tim Rentsch Newsgroups: comp.lang.c Subject: Re: Block Comments Or Rest-Of-Line Comments? Date: Fri, 22 Mar 2024 06:27:23 -0700 Organization: A noiseless patient Spider Lines: 29 Message-ID: <86edc2l7lw.fsf@linuxsc.com> References: <_iXKN.556576$PuZ9.147822@fx11.iad> <86r0g3liii.fsf@linuxsc.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Injection-Info: dont-email.me; posting-host="43a124101bc8549bfa1c6f6d248b1944"; logging-data="3091143"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19rfNVDvsAOCkkvaa1LoRFa97u5Q/KjjFk=" User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.4 (gnu/linux) Cancel-Lock: sha1:SDqfrjD6pMAq9kD4Z+vBWjug9QA= sha1:N0FrOy9THPxxJJf65JEpQNySBgg= Bytes: 1968 cross@spitfire.i.gajendra.net (Dan Cross) writes: > In article <86r0g3liii.fsf@linuxsc.com>, > Tim Rentsch wrote: > >> scott@slp53.sl.home (Scott Lurndal) writes: >> >>> Lawrence D'Oliveiro 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.