On 1 March 2012 19:34, Allen Wirfs-Brock <[email protected]> wrote:

> What do you think? Do you like -> better than <| ?  Is it ok to not have
> it available for functions?
>

I am always reticent to re-use lexical features of one language when
implementing in another with wildly different semantics.  Like it or not,
programmers see JavaScript as a C-like language where -> generally means
'accessor', as in C++.

One could make the point that they should read the fine manual, but var
scope is still a regular source of confusion: the vast majority of
programmers just don't read anything more detailed than snippets on
stackoverflow. I think an entirely new symbol will force them to read about
the functionality and keep them from guessing about what it does.

Wes

-- 
Wesley W. Garland
Director, Product Development
PageMail, Inc.
+1 613 542 2787 x 102
_______________________________________________
es-discuss mailing list
[email protected]
https://mail.mozilla.org/listinfo/es-discuss

Reply via email to