this post was submitted on 25 Dec 2025
249 points (97.3% liked)

Programmer Humor

41604 readers
67 users here now

Post funny things about programming here! (Or just rant about your favourite programming language.)

Rules:

founded 6 years ago
MODERATORS
 

Post:

You have three switches in one room and a single light bulb in another room. You are allowed to visit the room with the light bulb only once. How do you figure out which switch controls the bulb? Write your answer in the comments before looking at other answers.


Comment:

If this were an interview question, the correct response would be "Do you have any relevant questions for me? Because have a long list of things that more deserving of my precious time than to think about this!

you are viewing a single comment's thread
view the rest of the comments
[–] EvilHankVenture@lemmy.world 1 points 3 months ago (1 children)

You're assuming they don't control something in the room with the light, or they could control the lights in your room and the light you're trying to check .

[–] folaht@lemmy.ml 1 points 3 months ago* (last edited 3 months ago) (1 children)

Ah yes.
The infamous "they" who control everything.
But what "they" who control "they", who are really in control of the lights in your room and the lights you're trying to check?
What if there's an infinite amount of "theys" all the way down that by mathematical logic leads to myself?
What if the interview being held and the question being asked wasn't meant to test me, but to test you?
What then?

[–] EvilHankVenture@lemmy.world 1 points 3 months ago

By "they", I meant the switches.

But I'm just a brain in a jar and you are a simulation implanted in my consciousness by the switches so it doesn't really matter.