W3C home > Mailing lists > Public > public-webapps@w3.org > April to June 2009

Re: [bindings] Regarding the algorithm of 4.2.2. Interface prototype object

From: Cameron McCormack <cam@mcc.id.au>
Date: Fri, 19 Jun 2009 17:21:13 +1000
To: liorean <liorean@gmail.com>
Cc: public-webapps@w3.org
Message-ID: <20090619072113.GH32149@arc.mcc.id.au>
Hi David.

David Andersson:
> I think this algorithm as written is severely broken. The reason is
> that [[HasProperty]] will travel the entire chain for each of the
> interfaces in order.
> I propose a change to instead use the C3 algorithm as used in Dylan,
> Python 2.3, Perl 6:

A while ago I changed the spec to flatten the multple inheritance into a
single inheritance prototype chain, so I guess that invalidates your
comment.  I’d appreciate review of what’s currently specified, though.



Cameron McCormack ≝ http://mcc.id.au/
Received on Friday, 19 June 2009 07:21:50 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 18:12:54 UTC