W3C home > Mailing lists > Public > public-device-apis-log@w3.org > November 2016

Re: [ambient-light] Should we really redefine AmbientLightSensor.reading?

From: Tobie Langel via GitHub <sysbot+gh@w3.org>
Date: Tue, 08 Nov 2016 11:54:24 +0000
To: public-device-apis-log@w3.org
Message-ID: <issue_comment.created-259117750-1478606063-sysbot+gh@w3.org>
On irc, @annevk seemed to suggest otherwise:

12:38 […] I think you don't have to redefine it
12:38 only use would be stating a more specific return value, right?
12:39 you only do it if you change the type
12:40 which is an anti-pattern, but legacy

GitHub Notification of comment by tobie
Please view or discuss this issue at 
using your GitHub account
Received on Tuesday, 8 November 2016 11:54:32 UTC

This archive was generated by hypermail 2.4.0 : Monday, 4 July 2022 12:47:52 UTC