Shared publicly  - 
 
As I was doing some coding, I ran into one of those bugs where only 1 character is incorrect and yet you've wasted more times than you should have. The fix takes 1 second and 0 brainpower.

Here was my bug.

if(conditional);{
     //do something
}

I overlooked the accidental semicolon after the conditional. Imagine my confusion at the bizarre behavior the program was exhibiting. And it wasn't until many inspections until I noticed my mistake. 
1
Praneeth Mandavilli's profile photo
Add a comment...