Shorthand for "function" keyword

Rick Waldron 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.

Rick

On Tue, Nov 14, 2017 at 8:26 AM Isiah Meadows <isiahmeadows at gmail.com>
wrote:

> 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>
> wrote:
>
>> 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
> https://mail.mozilla.org/listinfo/es-discuss
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.mozilla.org/pipermail/es-discuss/attachments/20171114/3f694aa6/attachment.html>


More information about the es-discuss mailing list