Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

You consider the mechanical state of the lock mechanism to be non-deterministic. The sensor has no state, it's an observer.

You do not trust that because your boolean in RAM says "locked" that the door is locked.

Now whether you trust the sensor to be functional or not is another story.



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: