W3C home > Mailing lists > Public > public-script-coord@w3.org > January to March 2015

Re: Creating entangled objects

From: Brendan Eich <brendan@secure.meer.net>
Date: Mon, 09 Mar 2015 17:37:05 -0700
Message-ID: <54FE3CB1.902@secure.meer.net>
To: "Mark S. Miller" <erights@google.com>
CC: Jonas Sicking <jonas@sicking.cc>, "Tab Atkins Jr." <jackalmage@gmail.com>, David Dorwin <ddorwin@google.com>, public-script-coord <public-script-coord@w3.org>, Boris Zbarsky <bzbarsky@mit.edu>
Mark S. Miller wrote:
> Object.create(OtherObjectPrototype)
> On Mon, Mar 9, 2015 at 4:57 PM, Jonas Sicking <jonas@sicking.cc 
> <mailto:jonas@sicking.cc>> wrote:
>     But how does the call that create the two objects create them? If not
>     through their constructor?

I think Jonas may have wondered about convenience, but if you provide 
one constructor for two objects, a la Proxy.revocable, then that answers 
the usability issue. (O.c has notoriously suboptimal usability.)

Received on Tuesday, 10 March 2015 00:38:07 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 17:14:24 UTC