BTF Measurements

Herby Vojčík herby at mailbox.sk
Wed Mar 14 01:17:52 PDT 2012



Rick Waldron wrote:
> Kevin,
>
> Over the weekend I applied David Herman's new tri-lambda syntax to
> Popcorn.js to see how it would look and feel:
>
> https://github.com/rwldrn/popcorn-js/compare/tri-lambda

Why didn't you also apply 'method' syntax in 'name: () -> { ... }' 
scenarios, it will probably be used in this cases rather then manually 
putting the function there (even in shorter syntax)?

It should not be forgotten then functions per se will only be used in 
the places where they are not methods put into class / object literal.


More information about the es-discuss mailing list