r/ProgrammerHumor • • Sep 25 '26

Meme iHatedItUntilITriedIt

Post image
10k Upvotes

540 comments sorted by

View all comments

Show parent comment

2

u/not_a_moogle Sep 25 '26

Debugger old vb code with typecasting off. Was passing in a string zero, but then doing an if statement to check it was an int 0.

Clearly code was not tested since the if block would not be executed. And it doesnt throw a runtime error.