1
Hot take: I spent three hours last night trying to get a simple loop to work
My code kept printing the same number over and over, and I finally saw I typed 'i = 0' inside the loop instead of 'i += 1'. Has anyone else had a bug that took way too long to spot?
3 comments
Log in to join the discussion
Log In3 Comments
elliot_allen651mo ago
Man, my buddy spent a whole day on a missing semicolon. He was ready to throw his monitor out the window.
6
riverknight2mo ago
Classic. I once spent a whole afternoon on a typo where I wrote 'l' instead of '1' in a variable name. The compiler error made NO sense.
3