this post was submitted on 25 Dec 2025
538 points (96.9% liked)
Programmer Humor
28043 readers
427 users here now
Welcome to Programmer Humor!
This is a place where you can post jokes, memes, humor, etc. related to programming!
For sharing awful code theres also Programming Horror.
Rules
- Keep content in english
- No advertisements
- Posts must be related to programming or programmer topics
founded 2 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
It depends on what type of person designed the circuit and what type of person you are.
Ergonomics: The switch closest to the door first, then mid, then far, figuring the unknown user would click the switch closest, a skilled electrician would start there. However, it's not unreasonable for the electrician to ask the owner, so this is a hit-or-miss approach.
Installation efficiency: The installer refused to mark any of the lines and instead hooked them up at random, flip in any order, when you find the right one, return the others to the original state.
time efficiency: the energy cost to flip all three switches is minimal and you're only going in once, flip all three at the same time. you've done maximum effort and maximum time savings.
Error reduction, binary counter, all combinations tested in case of chained switching
Debugging: binary counter, followed by checking the lightbulb, possibly swapping for another if one is nearby, checking all the other switches near the room, breakers, power to the structure, and asking an occupant for assistance as a last resort.
Disaster recovery: locate a flashlight or use your phone's torch/flashlight function.
Ahh crap, other room.
ask an occupant
shove a penny in the socket behind the light bulb and listen for a breaker to pop
turn all three on
slide your cell phone under the door with video recording on, stomp on the floor hard every time you flip a switch
turn all the switches through a binary counter looking for one that seems to do nothing.