Expression closures - use-cases for shortcut lambda syntax (blocks)

Brendan Eich brendan at mozilla.org
Thu Mar 15 18:52:58 PDT 2007


On Mar 15, 2007, at 6:35 PM, Jon Zeppieri wrote:

> On 3/15/07, Brendan Eich <brendan at mozilla.org> wrote:
>> I am warming up to this use of backslash. What do others think?
>
> +1
>
>> Syntax matters, it's the user interface. It is not too late, but it
>> is late. We should discuss pros and cons here in a thread.
>
> PLT Scheme allows λ for 'lambda'.  JS could allow λ for 'function'  
> and
> backslash as a poor-man's λ.  I know it's lame to add two synonyms  
> for
> function, but it's also lame to use backslash explicitly as a
> lambda-lookalike in a language that already accepts lambdas in
> identifier syntax.

My Unicode implant is on back-order -- what code point is that? Any  
clue on how to type it on my Macbook Pro? Thanks,

/be





More information about the Es4-discuss mailing list