F
7

PSA: My first Python project took 40 hours to fix a single comma

I spent 3 days debugging a script that kept crashing, only to find a missing comma in a dictionary. That was 6 months ago, and now I pre-check every line before I even run the code. Has anyone else wasted a whole weekend on something this stupid?
3 comments

Log in to join the discussion

Log In
3 Comments
valc91
valc911mo ago
Oh yeah, linters are great, they only catch about 90% of the commas I forget to type.
5
martin.riley
Did you try using a linter to catch stuff like that?
0
phoenix_lewis
Honestly I just stopped worrying about it and started reading my code out loud before pushing. It sounds dumb but I catch way more dumb typos that way. Did you ever try that or just go straight to the linter?
3