Arrow binding

Allen Wirfs-Brock allen at wirfs-brock.com
Tue Apr 24 15:43:06 PDT 2012


On Apr 24, 2012, at 3:30 PM, Axel Rauschmayer wrote:

>> B. add expression bodies to method shorthands, don't add skinny arrow
>> 
>>     (-) Loses the flexibility of shorthand syntax for assigning to an existing object, a Tab pointed out. (Sorry Axel, mustache is not particularly Harmonious.)
> 
> Sorry to hear that. _.extend(), then (by whichever name)? As long as this operation can be performed in some manner...

or we need to find mustached harmony, perhaps with some slight syntax change.  The utility of .{ seems to be showing up fairly frequently in these discussions and also fits quite nicely with max-min classes for both instance and class property definition.

Allen





More information about the es-discuss mailing list