Shorthand for "function" keyword

T.J. Crowder tj.crowder at farsightsoftware.com
Tue Nov 14 06:47:45 UTC 2017


On Mon, Nov 13, 2017 at 10:22 PM, Laurentiu Taschina <
source.spider at gmail.com> wrote:
> > Are you worried about typing more characters? Use an IDE with
> > auto-complete, or snippets.
>
> The problem can not be easily fix'ed with snippets.

You forgot to say *why not*, veering off into not pointing specifically at
"func", which is a non-sequitur. Configure your IDE so that when you type
`fn` and press a space, it expands to a function template. Done.

-- T.J. Crowder
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.mozilla.org/pipermail/es-discuss/attachments/20171114/17955704/attachment.html>


More information about the es-discuss mailing list