5
Spent three hours stuck on a missing semicolon in my first JavaScript project
I was building a simple to-do list app and it just wouldn't run, giving me a vague error. I finally spotted the tiny missing ; on line 47 after checking every function twice. How do you even start to look for those kinds of tiny mistakes without losing your mind?
2 comments
Log in to join the discussion
Log In2 Comments
kelly.robin28d ago
Oh man, the "vague error" hunt is the worst. I once spent a whole afternoon debugging only to find I'd typed "fucntion" instead of "function". My own code gaslit me. For tiny stuff like a semicolon, I just paste chunks into a linter now, my eyes can't be trusted.
-1
mary_schmidt27d ago
That feeling when your own spelling betrays you is the worst. I once spent an hour on a missing comma in a config file, and my brain just refused to see it. Now I just stare at the screen and hope the mistake feels guilty and shows itself.
7