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?
2 comments
Log in to join the discussion
Log In2 Comments
riverknight20d 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
dylanbell20d ago
What font were you using that made it so hard to spot?
2