- From: Tobie Langel via GitHub <sysbot+gh@w3.org>
- Date: Mon, 31 Oct 2016 22:57:54 +0000
- To: public-device-apis-log@w3.org
> I think the language shouldn't use the word "current", for two reasons: That's not a term that's exposed to developers, and it's defined in the spec. But I'm happy to change if you find it confusing. > W/r to `sensor.read/start()`: `sensor.read()` would have its own baggage, specifically that devs might expect it to return a value, which it wouldn't (and definitely shouldn't). No, I meant sensor.read() as a way to access the latest reading instead of `Sensor.reading` as @alexshalamov brought up some potential developer confusion about the behavior of `Sensor.reading`. Note I'm not advocating this particular change, or any change at all, just using `.read()` as a way to start the conversation, like I could have used: `sensor.getLatestReading();` -- GitHub Notification of comment by tobie Please view or discuss this issue at https://github.com/w3c/ambient-light/issues/15#issuecomment-257444861 using your GitHub account
Received on Monday, 31 October 2016 22:58:00 UTC