Why does nobody talk about how a missing colon can eat your whole Saturday?
I spent about 4 hours last Saturday hunting down a bug in a little to-do app I'm building, and the whole thing came down to one missing colon after an if statement in Python. The error message kept pointing me to a line that was totally fine, so I retyped it three times and still got nothing. I finally gave up and pasted the function into a fresh file, and the line number in the traceback shifted by one. That's when it clicked: Python was mad about the line above, not the line it kept yelling at me about. I felt dumb for about 10 seconds, then just started laughing at my desk. Has anyone else gotten wrecked by an error message that points to the wrong spot, and is there a trick to catch this faster?