Brendan Eich (2015-02-24T03:50:29.000Z)
Allen Wirfs-Brock wrote:
> Note that the lambda abstraction technique also can support a dynamically provided method name:
>
> let aVarNamedMixin = (obj, name) =>  obj mixin {
>    [name] () {
>      //do something
>      super[name]()
>    }
> }

That's not bad. Never reach for eval where a function will do.

Still, if we can have an API, then all else equal we should.

/be
d at domenic.me (2015-03-06T00:46:44.586Z)
Allen Wirfs-Brock wrote:
> Note that the lambda abstraction technique also can support a dynamically provided method name:
>
> ```js
> let aVarNamedMixin = (obj, name) =>  obj mixin {
>    [name] () {
>      //do something
>      super[name]()
>    }
> }
> ```

That's not bad. Never reach for eval where a function will do.

Still, if we can have an API, then all else equal we should.