798
Optimizations? Never heard of it
(lemmy.world)
Post funny things about programming here! (Or just rant about your favourite programming language.)
Most elevators I've seen in the US have a minimum time for the doors to be open. Hitting the closed button won't do anything, unless you had hit the open door button to keep them open past that time. So if you hit the open door button right before the doors closed to let someone in and they tell you they are actually going down, you can hit the close button and it'll immediately close.