laziness, impatience, and hubris | |
PerlMonks |
Re: You need more coffee when...by Steve_p (Priest) |
on Apr 16, 2004 at 13:13 UTC ( [id://345745]=note: print w/replies, xml ) | Need Help?? |
A co-worker of mine and I stared at a chuck of code similar to the following for hours.
We could not figure out why the code after the for was only called once. We added printf statements. We ran it through debuggers (we tried several, assuming there was something wrong with them. Finally, blurry eyed, my co-worker said, "Why do I have a ";" right after the for?" He removed it, recompiled and everything worked fine. Yet another case of EBKAC.
In Section
Meditations
|
|