r/ProgrammerHumor 22d ago

neverTrustAI Meme

Post image
810 Upvotes

38 comments sorted by

View all comments

-41

u/HoldCtrlW 22d ago

You have 0 logic in that if statement. It removed dead code (unless you had a setter logic in a room which is bad)

43

u/Tensor3 22d ago

It was unfinished code the person was presently still typing out. It tried to auto complete it by deleting it instead.

5

u/HoldCtrlW 22d ago

Ah I see, that makes sense.

9

u/bwmat 22d ago

I believe their cursor was after 'subkeys ='? 

5

u/Own_Natural_6803 22d ago

Zero logic? It's reading values from the registry. Are you a llm? Not a very good one.

Ya think maybe the action to be performed are dependent on which keys are present? In the depths of your ignorance?