"Pretty" function expression names

Dan Tsimbala slip777sg at gmail.com
Mon May 11 03:19:16 PDT 2009

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 <slip777sg at gmail.com> 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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.mozilla.org/pipermail/es-discuss/attachments/20090511/2b3c5586/attachment-0001.html>

More information about the es-discuss mailing list