G
30

My worst coding week started with a missing semicolon in line 47

Last Tuesday, I spent 6 hours trying to get a simple Python script to run, only to find out I'd forgotten a colon after an 'if' statement. I was following a tutorial from 'Automate the Boring Stuff' and felt completely stuck. Has anyone else lost a whole day to a tiny syntax error like that?
2 comments

Log in to join the discussion

Log In
2 Comments
charlieo29
charlieo2924d ago
Man, that reminds me of when I was learning JavaScript and kept getting "undefined" errors. I wrote a whole function to check user login, but I spelled "username" as "usernam" in one spot. Took me forever to see it because my brain just autocorrected it while reading. The console log wasn't any help either, just pointed to a line way later. You ever stare at something so long the letters stop making sense?
5
laura_white99
Been there with the brain autocorrect thing. My eyes just glaze over after staring at code too long. Sometimes you gotta walk away for a bit to see it fresh.
7