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

Re: [magnetic field event] Proposal for magnetic field event

From: Doug Turner <dougt@mozilla.com>
Date: Fri, 28 Dec 2012 11:41:43 -0800
Message-ID: <50DDF5F7.3000500@mozilla.com>
To: Rick Waldron <waldron.rick@gmail.com>
CC: Ray You <ryou@mozilla.com>, "public-device-apis@w3.org" <public-device-apis@w3.org>, "doug.turner@gmail.com" <doug.turner@gmail.com>, Thinker Lee <tlee@mozilla.com>, Marco Chen <mchen@mozilla.com>, "bj-b2g@mozilla.com" <bj-b2g@mozilla.com>
On 12/28/12 10:59 AM, Rick Waldron wrote:
>
>
> On Friday, December 28, 2012, Doug Turner wrote:
>
>     On 12/28/12 10:40 AM, Rick Waldron wrote:
>     > These APIs absolutely need to move away from copying the
>     > DeviceOrientation and DeviceMotion specs.
>
>     I disagree.  I think for the sake of consistency, we should follow the
>     pattern.
>
>
>
> Just because there is a pattern, doesnt make it the right pattern.

I didn't say it was the right pattern.  Don't put words in my mouth.

One thing that is worse than the wrong pattern is two different patterns
when dealing with the basically the same sort of thing.

> that will fail hard once there is more then on of any sensor type.
These APIs were built for mobile devices that typically only have one
sensor of each type.  We could have clearly built something else to
support an n-number of sensors.  But, I tend to think that is
over-engineering at this point and we could spend time more important
things.

Doug
Received on Friday, 28 December 2012 19:42:12 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Friday, 28 December 2012 19:42:13 GMT