Comment
Comment by gardarh
Reminds me of the time I decided to always start using braces for if statements. I was figuring out why this line didn't work:
And naturally the obvious thing do to was to add a debugging statement:
And if I remember correctly all of a sudden the bug didn't exist anymore for the condition I was reviewing. Took me a while to figure out what was going on. Lesson learned: Just always use braces.