13
Spent 4 hours debugging a missing semicolon last night
I was working on a simple Python script for my class project and kept getting a syntax error. After like 4 hours of checking every line, I finally noticed I forgot a colon after my for loop statement. It was literally one character but broke everything. Has anyone else spent way too long on something this small? I feel like these are the moments that teach you the most though.
3 comments
Log in to join the discussion
Log In3 Comments
diana51212d ago
Why not just use an editor that highlights syntax errors?
7
ruby_henderson3611d ago
Syntax highlighting doesn't fix spelling errors though.
4
linda_dixon4912d ago
My brain still finds ways to miss typos even with syntax highlighting, so I guess I just enjoy the struggle.
2