W3C home > Mailing lists > Public > public-script-coord@w3.org > July to September 2011

Re: [WebIDL] add text to discourage `InterfaceOwnedBySomeoneElse implements InterfaceIJustWrote;` and suggest `ConcreteObjectThatImplementsThatInterface implements InterfaceIJustWrote;` instead.

From: Cameron McCormack <cam@mcc.id.au>
Date: Thu, 01 Sep 2011 16:46:23 +1200
Message-ID: <4E5F0E1F.5020104@mcc.id.au>
To: timeless <timeless@gmail.com>
CC: public-script-coord@w3.org
On 30/08/11 5:08 AM, timeless wrote:
> The rule which we tried to enforce is this:
>
> Only the owner of IFoo is allowed to extend IFoo until IFoo is frozen,
> at which point, IFoo MAY but probably SHOULD NOT be extended by
> others.
>
> Roughly that translates into:
>
>    You, owner of ConcreteObject X are free to use 'X implements IWhatever;', but
>    You are NOT free to use 'IStandardsBodyThing implements IWhatever;'.
>
> And I'd like to see text to this effect added to the specification.

I *think* that all existing uses of "implements" are of the form 
"ConcreteInterface implements IWhatever".  Do you have a pointer to the 
Web IDL snippet you say you saw?

I'm fine with adding a discouragement, and have done so now.

http://dev.w3.org/cvsweb/2006/webapi/WebIDL/Overview.html.diff?r1=1.368;r2=1.369;f=h

Please indicate whether this resolution is acceptable, and also if you 
have any suggested improved wording for the note.

Thanks,

Cameron
Received on Thursday, 1 September 2011 04:47:11 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 8 May 2013 19:30:04 UTC