Warning: Spent 4 hours debugging a missing semicolon in JavaScript
Was working on a simple calculator app in JavaScript for my class project. Spent all Wednesday afternoon staring at the console trying to figure out why my function just wouldnt run. Turns out I forgot a semicolon after a return statement inside a nested loop. I was so mad at myself but honestly it taught me to use a linter right from the start now. My instructor laughed and said we all do it at least once. Anyone else have a dumb little mistake that wasted hours of your time?
My buddy spent a whole afternoon chasing a bug once, turns out they'd written "==" as "=" in a conditional. Linter would've caught that in 2 seconds flat.