Spent 4 hours debugging a missing semicolon last night
I was working on a basic JavaScript project for my online class, just a simple calculator to add numbers. For like 3 hours I couldn't figure out why it kept returning undefined. I checked the functions, the variables, even rewrote half the code from scratch. Turned out I forgot a single semicolon after a line in the middle of the script. My roommate who codes for a living walked by, glanced at my screen, and pointed it out in 10 seconds. Made me feel both stupid and grateful at the same time. Anyone else have a tiny syntax error eat up your whole evening?