Operator overloading

Brendan Eich brendan at mozilla.com
Tue Dec 18 12:01:56 PST 2007


On Dec 18, 2007, at 6:52 AM, João Eiras wrote:

> So Peter Hall gave me the links
> http://wiki.ecmascript.org/doku.php?id=discussion:operators
> http://wiki.ecmascript.org/doku.php?id=proposals:operators

Once again, out of date documents are misleading folks. We need to  
fix this -- apologies. The language overview:

http://www.ecmascript.org/es4/spec/overview.pdf

and the evolutionary programming tutorial:

http://www.ecmascript.org/es4/spec/evolutionary-programming-tutorial.pdf

both discuss generic functions, which are how operators can be  
defined and overloaded. The wiki page for this proposal is:

http://wiki.ecmascript.org/doku.php?id=proposals:generic_functions

Please read this instead of the operators proposal that it obsoletes.

/be

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.mozilla.org/pipermail/es-discuss/attachments/20071218/c3a2ebba/attachment-0002.html 


More information about the Es4-discuss mailing list