7
That moment in a coffee shop when a stranger debugged my code just by looking at my screen
I was stuck on a for loop for two hours at a place in Austin. Some guy glanced over and said 'you're resetting the variable inside the loop, man.' He pointed right at line 14 where I had `let total = 0` sitting inside the curly braces. Fixed it in ten seconds after that. Has anyone else had a random stranger spot their dumb mistake like that?
2 comments
Log in to join the discussion
Log In2 Comments
blair59715d ago
Funny how the simple stuff always trips us up, no matter what you do.
4
elliotm7015d ago
Keep at it until it feels natural. Practice a few times in a low pressure spot before you need it for real. That muscle memory kicks in faster than you think.
2