[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: multiline comment: triple '-' format
- From: spir <denis.spir@...>
- Date: Fri, 11 Dec 2009 18:53:47 +0100
I would like to be able to write multiline comments using a nicer format such as:
for the following reasons:
1. Nicer to type.
2. Much less visual noise.
3. I just had a bug because ']]' was part of a comment.
This could be either an alternative or a replacement for the present pattern. At first sight, I cannot see any parsing problem. Also, "---" can hardly happen by chance inside a string or comment.
(About the bug issue, I read somewhere that a solution may be to require ending multiline comments with "--]]" instead of "]]" alone, and I fully agree (I do it now). But it makes points 1 & 2 even worse.)
la vita e estrany