W3C home > Mailing lists > Public > public-device-apis@w3.org > March 2012

Re: addEventListener and side effects (was: CfC to change Sensor approach, not progress current draft)

From: Doug Turner <doug.turner@gmail.com>
Date: Thu, 22 Mar 2012 10:27:09 -0700
Cc: Robin Berjon <robin@berjon.com>, Frederick.Hirsch@nokia.com, public-device-apis@w3.org
Message-Id: <D7E0CB48-94B7-44C2-AF0E-E4C0DFA1032E@gmail.com>
To: Dominique Hazael-Massieux <dom@w3.org>

On Mar 22, 2012, at 10:20 AM, Dominique Hazael-Massieux wrote:

> Le jeudi 22 mars 2012 à 10:09 -0700, Doug Turner a écrit :
>> I am worried about consistency.
> 
> I agree that consistency is important; but between consistency and doing
> the right thing, I think the latter takes precedence.

I don't think I agree as the 'right thing' isn't defined.  Sorry.

> I'm all for striving for consistency when two equivalent
> solutions exist, but if the addEventListener-with-side-effect is
> considered an inferior solution, I don't think we should push
> consistency with that approach.

I hope it is clear that I do not think addEventListener-with-side-effect is an inferior solution.  So, this is really the gist of our argument, isn't it?

Doug
Received on Thursday, 22 March 2012 17:27:39 UTC

This archive was generated by hypermail 2.3.1 : Monday, 23 October 2017 14:53:53 UTC