10
Just wrote my 1000th line of code and it was all a typo
I was so pumped to hit that number in my first Python project, a simple text game. I spent like an hour just staring at the screen feeling like a genius. Then I ran it and got a syntax error because I'd spelled 'print' as 'pint' on line 1000. Has anyone else had a big win turn into a facepalm moment this fast?
2 comments
Log in to join the discussion
Log In2 Comments
derekp7014d ago
My first big coding project was a budget tracker in college. I stayed up all night to finish the final report function, about 200 lines of logic. I was so proud I emailed the file to my professor a week early. He wrote back five minutes later to say the whole program crashed because I'd used a single equals sign in an 'if' statement on line one. That high to low feeling is the worst.
6
michaelrodriguez13d ago
Been there. I once spent a whole afternoon debugging only to find I'd used a comma instead of a period. Now I run my code after every few lines to catch those little mistakes early.
3