On Tue, 10 Nov 2026 11:19:19 +0000, Lars Brinkhoff wrote:
> Lawrence D’Oliveiro writes:
>> >> Why the need for multiple semicolons? Is one each time not enough?
> > It's an old convention going back to Maclisp and also some assembler > code on the MIT PDP-10's.
I picked up a convention used on DEC software, and have adapted it to multiple different languages since then: section-header comments are bracketed by lines containing “+” and “-” characters. E.g. ;+ ; User-visible stuff follows ;- (assembler, also Lisp) #+ # User-visible stuff follows #- (Python, Perl, shell etc) For languages like C, C++ and Java, which thankfully allow block comments, it’s a bit simpler: /* User-visible stuff follows */ Though if you insist on the rest-of-line style, I could do that too: //+ // User-visible stuff follows //-