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

Programmer Humor

19623 readers
1 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 10 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 10 months ago

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