3 ms·
Wait—that last state doesn't make sense. With a real door, you can technically turn the key while it's open, but does that meaningfully change its state? Yet ou
by lvturner 2y ago
Wait—that last state doesn't make sense. With a real door, you can technically turn the key while it's open, but does that meaningfully change its state? Yet our model allows this impossible combination.
Funnily enough, I have a physical door & lock that OFTEN gets in to this state - it's exactly as irritating as it sounds, and it has very meaningful impact on it's state (it then can't be closed without first unlocking the lock!)
- pryelluw 2y agoI’ve come to the conclusion that most programming problems like this can be solved my having programmers work as building superintendents for 3 months. Practical experience will open their eyes to how the world really works.
- lvturner 2y agoThis leads to another wonderful gap, where programmers are expected to understand the world[0], but the world isn't expected to understand programming[1] [0] Business, etc [1] System design, security, database management, cost vs speed trade-offs, SCM, etc etc etc