One think I have suggested back in a time may has an interesting property to a private symbol sharing. What if private symbols were of "function" type instead of "object", where given a symbol 'foo' foo(object, arg1, arg2, …) desugars to object[foo](arg1, arg2, …) That would make symbol sharing as legit as sharing regular functions. In addition it would allow users to define / consume them in functional or OOP style depending on their preferences. On 2013-08-02 at 13:46:52 , Brendan Eich ([email protected]) wrote:
|
_______________________________________________ es-discuss mailing list [email protected] https://mail.mozilla.org/listinfo/es-discuss

