Dean Landolt (2014-01-13T13:13:54.000Z)
Value Objects. See the recent thread re: value objects on es-discuss.
Slides from the presentation Brendan linked to (
http://www.slideshare.net/BrendanEich/js-resp) confirm that == will still
be overloadable and he says he'll be working on writing it all up this
month.


On Mon, Jan 13, 2014 at 5:45 AM, Anne van Kesteren <annevk at annevk.nl> wrote:

> In a discussion I had with Alex Russell as how to do comparison for
> URL objects it ended up with desiring
>
>   url == url2
>
> to work. It escaped me at that point that I already discussed this
> briefly and Brendan explained why face-to-face. However, I forgot what
> he said :/
>
> The alternative, either something like
>
>   url.equals(url2)
>
> or
>
>   URL.equal(url, url2)
>
> or
>
>   url.toString() == url2.toString()
>
> is somewhat Java-esque. Is that what we should do? And if so, opinions
> on which variant?
>
>
> --
> http://annevankesteren.nl/
> _______________________________________________
> es-discuss mailing list
> es-discuss at mozilla.org
> https://mail.mozilla.org/listinfo/es-discuss
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.mozilla.org/pipermail/es-discuss/attachments/20140113/6284ed4a/attachment.html>
forbes at lindesay.co.uk (2014-01-15T15:40:21.131Z)
Value Objects. See the recent thread re: value objects on es-discuss.  Slides from the presentation Brendan linked to (http://www.slideshare.net/BrendanEich/js-resp) confirm that `==` will still be overloadable and he says he'll be working on writing it all up this month.