🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.arch
Article #110

Re: Comment delimiters (was: Optimization by programmers)

#110
From: George Neuner
Date: Wed, 14 Oct 2026 16:14
26 lines
2299 bytes
On Tue, 13 Oct 2026 23:24:50 -0400, Stefan Monnier
<monnier@iro.umontreal.ca> wrote:


> Andy Valencia wrote:
>> While you're at it, start the transition to "//" as the comment
>> token.  From memory, who's holding out?  Only Forth, Smalltalk, and
>> COBOL come to mind.

@Andy 
Seriously, no thoughts on block comments?  Shouldn't every language be
forced to use  /* */


>There are many many more, ...

Indeed.
https://gist.github.com/dk949/88b2652284234f723decaeb84db2576c

I saw a few examples that were wrong (some addressed by replies), and
a couple I know to be implementation dependent, but this looks to be a
reasonable start on a survey.


MMV but I think too many people in this forum assume that C is the
only language that matters.
Technical Details
Message-ID: <808vclt9i2mso89n1itvnvos5j88g1mopl@4ax.com>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!eternal-september.org!feeder.eternal-september.org!nntp.eternal-september.org!.POSTED!not-for-mail
References: <1791742457-5857@newsgrouper.org> <11agm4p$2tfut$1@dont-email.me> <11ahs8q$38ir0$4@dont-email.me> <11aig3c$3hdcn$1@dont-email.me> <11aiqc0$3kr94$3@dont-email.me> <179190779286.25645.14465927900754526737@media.vsta.org> <179190779286.25645.14465927900754526737@media.vsta.org> (message from Andy Valencia <vandys@vsta.org> <jwvjynl2cg0.fsf-monnier+comp.arch@gnu.org>

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!eternal-september.org!feeder.eternal-september.org!nntp.eternal-september.org!.POSTED!not-for-mail
From: George Neuner <gneuner2@comcast.net>
Newsgroups: comp.arch
Subject: Re: Comment delimiters (was: Optimization by programmers)
Date: Wed, 14 Oct 2026 12:14:30 -0400
Organization: A noiseless patient Spider
Lines: 26
Message-ID: <808vclt9i2mso89n1itvnvos5j88g1mopl@4ax.com>
References: <1791742457-5857@newsgrouper.org> <11agm4p$2tfut$1@dont-email.me> <11ahs8q$38ir0$4@dont-email.me> <11aig3c$3hdcn$1@dont-email.me> <11aiqc0$3kr94$3@dont-email.me> <179190779286.25645.14465927900754526737@media.vsta.org> <179190779286.25645.14465927900754526737@media.vsta.org> (message from Andy Valencia <vandys@vsta.org> <jwvjynl2cg0.fsf-monnier+comp.arch@gnu.org>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Injection-Date: Wed, 14 Oct 2026 16:14:33 +0000 (UTC)
Injection-Info: dont-email.me;
	logging-data="1733075"; mail-complaints-to="abuse@eternal-september.org";	posting-account="U2FsdGVkX18oGeK/5lnaVdH1WVoAUp5CPNNAsie7Qhw="; posting-host="010bcb0abb53ac20790b8c410e9c9876"
User-Agent: ForteAgent/8.00.32.1272
Cancel-Lock: sha1:DUn13wtbGyR00IwyZxsfny2uBdI= sha256:5XCW1CtlQ9NZghi1hwuhsbKvYrsQ7KUYCQX3mbJLeVU=
	sha1:xKIzTDnIM3yPY85L6jYKDOCmFco= sha256:UJVeIdv+WV1M2hs9Bre9XLHKIyypYHOjng2uFSG4ETY=