Operator overloading for non-value objects

Kevin Smith zenparsing at gmail.com
Mon Jan 13 22:35:28 PST 2014


>
>
> Your point about it being too late to salvage == (vs. ===) is good, but
> perhaps with value objects plus further work to disable implicit
> conversions, == will make a come-back -- but that's far down the road.
>

Work to disable implicit conversions?  Can you clarify?

I'm actually quite wary (so far) of allowing the user to override an
operator whose abstract meaning is already so abstruse.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.mozilla.org/pipermail/es-discuss/attachments/20140114/524070aa/attachment.html>


More information about the es-discuss mailing list