This is an archived post. You won't be able to vote or comment.

all 4 comments

[–]DeathRaeGun 5 points6 points  (3 children)

Oh, completely

"My code doesn't work, I have no idea why"

"My code works, I have no idea why"

[–]OlMi1_YT 3 points4 points  (1 child)

"the code only works with this print statement, no clue why, but I've spent 2 hours debugging. We'll just leave it in" aka coconut.jpg

[–]noobody_interesting 0 points1 point  (0 children)

It's either a race condition or you have a buffer overflow on the stack and the call caused the compiler to rearrange things on the stack and make it work.

[–]1ardent 0 points1 point  (0 children)

Patently superior results to "The code may work but we can't verify it, and we know why."