News for hackers. Stuff that matters.
Re:Booleans Are a Trap by rascul on Sunday November 10, 2024 @09:23AM (#42100379)
> Yes, you can't close a door that is open but the lock is turned.

That depends. If it's a deadbolt, you're correct. If it's the lock in a doorknob, you probably can. This is typically how I lock my front door when I leave, I lock it then close it. Cars doors can also generally be locked then closed.

There are no comments on this comment yet.