Operator overloading for non-value objects
dean at deanlandolt.com
Mon Jan 13 06:11:38 PST 2014
On Mon, Jan 13, 2014 at 8:38 AM, Anne van Kesteren <annevk at annevk.nl> wrote:
> On Mon, Jan 13, 2014 at 1:13 PM, Dean Landolt <dean at deanlandolt.com>
> > Value Objects. See the recent thread re: value objects on es-discuss.
> > from the presentation Brendan linked to
> > (http://www.slideshare.net/BrendanEich/js-resp) confirm that == will
> > be overloadable and he says he'll be working on writing it all up this
> > month.
> Value objects are immutable. URL objects do not have that quality
> which is why I titled this thread overloading for non-value objects...
Ah, I apologize -- I didn't bother reading the subject.
I'd only add that in spite of all the legacy, the mutation-heavy API of URL
objects seems pretty clunky, especially in the presence of value objects.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the es-discuss