"Pretty" function expression names

Dan Tsimbala slip777sg at gmail.com
Sun May 10 22:24:31 PDT 2009


>
> 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/498d4967/attachment.html>


More information about the es-discuss mailing list