9
I finally broke my print loop after 11 hours at a Coding Camp in Tulsa
Last Saturday at a beginner coding camp in Tulsa, I got stuck in an infinite loop printing 'Hello' and couldn't figure out why my console was just screaming at me. Turns out I'd put the while condition wrong and forgot to increment the counter, so it just ran forever while the instructor watched me panic. I tried closing the browser, restarting my laptop, even unplugged the monitor once before someone tapped my shoulder and pointed at line 4. Fixed it in 30 seconds after that, but the whole room had stopped to watch my meltdown over a missing i++. Has anyone else had a tiny syntax slip turn into a full public embarrassment? What was your fix?
0 comments
Log in to join the discussion
Log In0 Comments
No comments yet
Be the first to share your thoughts on this discussion.