17
Spent two hours trying to fix a bug that was just a missing comma
I was working on a small project last night, a simple Python script to sort my movie list. I kept getting this 'SyntaxError' every time I ran it. I checked the logic, I checked the variable names, I even restarted my computer. I was sitting at my kitchen table, getting really annoyed. After about two hours of staring at the screen, my eyes just went to this one line where I had a list of movie titles. I had written 'The Dark Knight' 'Inception' but forgot the comma between them. I put that one comma in and it ran perfectly. I felt so silly. Has anyone else lost a big chunk of time to a tiny mistake like that?
3 comments
Log in to join the discussion
Log In3 Comments
emmafisher3mo ago
My last project had a typo in a variable name that took me three days to find.
7
the_simon1mo ago
Funny you say that because I've started noticing this same kind of thing in everyday stuff too. Like how I spent 20 minutes looking for my keys the other day and they were in my hand the whole time. Or when you misread a street sign and drive 10 miles out of your way before realizing it. It's like our brains just skip over the small wrong details because we're so sure we know what we're looking at. Lately I try to just stop and double check everything, even if it feels dumb, because those tiny mistakes really do add up.
1