More drive-bys.

I could see decorators as a nice way to define "functional" behavior for
generic functions:

@curried
var add = (a, b) => a + b;

@memoize
var fetch = (url) => /* logic */;

Eli Perelman

On Tue, Oct 20, 2015 at 8:42 AM, Kevin Smith <[email protected]> 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
> [email protected]
> https://mail.mozilla.org/listinfo/es-discuss
>
>
_______________________________________________
es-discuss mailing list
[email protected]
https://mail.mozilla.org/listinfo/es-discuss

Reply via email to