Decorators for functions
eli at eliperelman.com
Tue Oct 20 14:23:10 UTC 2015
I could see decorators as a nice way to define "functional" behavior for
var add = (a, b) => a + b;
var fetch = (url) => /* logic */;
On Tue, Oct 20, 2015 at 8:42 AM, Kevin Smith <zenparsing at gmail.com> wrote:
> I would just say that it is odd in the extreme that a group of
>> world-leading language designers would just throw in the towel when
>> confronted with a pretty small roadbump, instead of figuring out ways to
>> solve it.
> Another drive-by...
> The trick is introducing new features without exploding the number of
> rules which must be remembered in order to use that feature.
> es-discuss mailing list
> es-discuss at mozilla.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the es-discuss