32
Watched a friend's Python script fail silently for 2 hours because he forgot a single comma in his SQL query
That moment when he finally spotted the missing comma between column names convinced me to always pipe my database queries through a linter first (I mean, I was skeptical before, but now I run one every time), has anyone else had a dumb syntax error eat up their debugging time like that?
2 comments
Log in to join the discussion
Log In2 Comments
johnh821mo ago
Wait, two HOURS? That's brutal. I would have lost my mind way before that. One missing comma and the whole script just sits there doing nothing, not even a warning? That's the worst kind of bug. It's like the computer is silently laughing at you. I've definitely had similar moments where I spent a whole afternoon tracking down a stray semicolon or a missing quote in a config file. Linting is a lifesaver now, for sure.
4