-
Notifications
You must be signed in to change notification settings - Fork 59
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Find a clearer name for the sensor concept #162
Comments
Well, it's associated to the [=sensor=] object, which itself is an abstract concept and so doesn't have slots. |
I frankly wish I could make it easier to distinguish between the abstract [=sensor=] concept, the {{Sensor}} interface and instances of {{Sensor}} sub-classes. Would you have a suggestion? |
IMO that would be great too. I do not have any specific suggestions, maybe it's worth just mentioning it explicitly in the spec prose? |
Sorry, mentioning what? |
The difference between [=sensor=] object as a concept (and which can represent a real HW sensor) and Sensor object as implementation of Sensor interface.. They both are called "Sensor", so I was confused and created this issue :) now I see which of them =latest reading= belongs to. |
Seriously though, I get confused by my own prose regularly because of that issue.
@anssiko, @dontcallmedom, @rwaldron: thoughts? |
This patch splits [=sensor=] concept into two concepts: 1. device sensor - refers a physical sensor instance on a device 2. platform sensor - refers a piece of platfrom API representing a device sensor Fixes w3c#162
This patch splits [=sensor=] concept into two concepts: 1. device sensor - refers a physical sensor instance on a device 2. platform sensor - refers a piece of platfrom API representing a device sensor Fixes w3c#162
This patch splits [=sensor=] concept into two concepts: 1. device sensor - refers a physical sensor instance on a device 2. platform sensor - refers a piece of platfrom API representing a device sensor Fixes w3c#162
Latest reading https://w3c.github.io/sensors/#latest-reading is an implementation detail that should be marked as an internal slot and be mentioned at https://w3c.github.io/sensors/#sensor-internal-slots
The text was updated successfully, but these errors were encountered: