strawman for the := operator

Allen Wirfs-Brock allen at
Thu Aug 9 11:37:58 PDT 2012

On Aug 8, 2012, at 6:11 PM, David Herman wrote:

> On Aug 8, 2012, at 5:01 PM, Brendan Eich wrote:
>>> Allen should correct me, but I think he doesn't disagree, since he says:
>>>> And, := should not be thought of or become the common way to do assignment.   That should remain the job of =
>> (That double-cited text is not mine, however -- it is from Allen, in reply to me to Doug -- but Allen is not on your To/cc list for some reason...)
> Yes, I was purposefully quoting Allen (note my words, "Allen should correct me... he says:") from another message via copy/paste-quoted. I try to avoid needless proliferation of messages when I can condense into a single reply.

Yes, you correctly represented by point.  Rick Waldron innerHTML example shows how misusing := for group assignment could go wrong.  I'm not currently opposed to the possibility of a separate group assignment operator (eg, .=) put it wouldn't replace the need for :=


More information about the es-discuss mailing list