this post was submitted on 16 Jan 2024
534 points (98.7% liked)

Programmer Humor

19450 readers
744 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

founded 1 year ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[โ€“] Drama_durch_Lama@feddit.de 25 points 9 months ago (1 children)

That gave me an idea: A variable that is only defined when observed by a debugger, otherwise it's null.

[โ€“] Flipper@feddit.de 9 points 9 months ago

How about an instruction that jumps only when a debugger is attached? Cause that exists.