Operator overloading for non-value objects

Brendan Eich brendan at mozilla.com
Tue Jan 14 13:29:52 PST 2014


Kevin Smith wrote:
>
>     While opinions vary, the fact remains that == and <= are in the
>     language, are loose, and need to be overloadable for useful value
>     objects, specifically more numeric types. 
>
>
> I agree, that must be a goal of the design.
>
>     Suggest you pull == out of your mental penalty box and look at it
>     again. It's not a recidivist.
>
>
> Says the one trying to let him out!

http://www.hulu.com/watch/12740

*Okay* then!

/be


More information about the es-discuss mailing list