Skip to content

Comment on Undo codes for Japanese elevator floor buttonsparent

Comments

I don't know why someone implemented it specifically, but I can think of 2 possible reasons: (1) To prevent accidental presses, and (2) prevent maliciously pressing every button quickly.

Or a third option: it's just shoddy implementation that happens to have an annoying effect.

Could also be a debounce mechanism to cancel out multiple presses too close together which is just a reality on switches even if you physically only pressed it once.

AboutSource Built by g1lg1l

Hackerly is an independent reader for Hacker News, built on the public HN API. Not affiliated with Y Combinator.