Shorthand for "function" keyword
isiahmeadows at gmail.com
Tue Nov 14 13:26:04 UTC 2017
Also, most decent text editors, including Atom, Sublime, Vim, and Emacs,
support such snippets. (Vim/Emacs call them macros, but they're
functionally the same concept mostly.)
On Tue, Nov 14, 2017, 01:48 T.J. Crowder <tj.crowder at farsightsoftware.com>
> 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...
More information about the es-discuss