[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Adding srfi-30 comments.
From: |
Maciej Stachowiak |
Subject: |
Re: Adding srfi-30 comments. |
Date: |
Tue, 3 Sep 2002 15:28:49 -0700 |
User-agent: |
Mutt/1.2.5i |
On 03Sep2002 11:34AM (-0700), Bruce Korb wrote:
> Rob Browning wrote:
>
> > - #| comments can be nested
>
> No, please. Nested comments in C were removed for good
> reason. It's too confusing. Editors are very good at
> commenting out blocks of text, no need to muddy syntax
> with another flavor of parenthesis.
>
The fact that C does not support nested comments leads to the
near-universal recommendation of using #if 0 ... #endif, which does
nest, to comment large blocks of code. I don't think this reduces
confusion at all.
- Maciej