-1
3 hours to fix a missing semicolon and I nearly threw my laptop
I was working on a basic Python script to sort my downloads folder and kept getting this weird syntax error. Turns out I forgot a single semicolon inside a loop and it took me from 6pm to 9pm to spot it. Anyone else spend way too long on tiny mistakes like that?
2 comments
Log in to join the discussion
Log In2 Comments
haydenbutler25d ago
Did you try using a linter or an IDE that highlights syntax errors in real time? I used to drive myself crazy with missing colons and parentheses until I turned on Python's built in linter, caught that stuff before it ever hit the terminal. That one change saved me hours of squinting at code.
7