Re: why not just use C /* ... */ ?

[email protected] ((Johan Vromans)) 23 Aug 2000 22:56:45 +0200
Newsgroups perl.perl6.language.mlc
Message-ID <[email protected]>
iain truskett <[email protected]> writes:

> > With SLC, discarding a line if it starts with a # (after optional
> > whitespace) is straightforward, fail safe, and fast.
> 
> Almost. You can have # in other places on the line. It doesn't have to
> be at the start (with or without whitespace).

I was aiming at the case where SLC are used instead of MLC. In this
case, every line is commented out, hence the # will always be at the
line start.

   # This # part
   # is /* commented */
   # out completely
vs.
   /*
   This # part
   is /* commented */
   out completely
   */

For normal comments, your remark stands.

-- Johan