Shorthand for "function" keyword
waldron.rick at gmail.com
Tue Nov 14 21:04:40 UTC 2017
For all new syntax proposals or discussions, I recommend writing a Babylon
plugin + Babel transform to prove that it's even possible before presenting
it for feedback.
On Tue, Nov 14, 2017 at 8:26 AM Isiah Meadows <isiahmeadows at gmail.com>
> 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
> es-discuss mailing list
> es-discuss at mozilla.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the es-discuss