Just have remembered that Python has doc string, so it's not actually a
comment. Is the problem about using comment for such purposes in parsing
procedure? (that it ignores whitespace and comment tokens)

On Mon, May 11, 2009 at 7:24 AM, Dan Tsimbala <[email protected]> wrote:

> On the other hand, this is also just using one syntactic feature (string
>> literal) for another purpose: a special type of comment.
>>
>
> So why not do it as the first comment of the function, like Python does.
> String literal seems strange. But in any case I like this idea more than
> descriptive names.
>
> The only problem for me is that it might overlap with for example JSDoc
> comments, and with string literal you can't do anything about it.
>
_______________________________________________
es-discuss mailing list
[email protected]
https://mail.mozilla.org/listinfo/es-discuss

Reply via email to