V
4

Tried to fix a comma in my code, broke the whole login system instead

I was working on a simple login page for a class project last Friday night. I just wanted to add one stupid comma to fix a syntax error in JavaScript. Well, I accidently deleted a curly brace instead and spent 2 hours wondering why nothing would load. My browser just showed a blank white screen and I was about to throw my laptop out the window. Turned out I also forgot to save a backup, so I had to rewrite half the logic from memory. My roommate walked in and asked if I was okay, and I just pointed at the screen like a crazy person. Has anyone else had a tiny change snowball into a whole nightmare like that?
3 comments

Log in to join the discussion

Log In
3 Comments
iris_schmidt
Right @charles836 same energy, I once swapped a + for a - and crashed a whole database.
8
charles836
charles83618d ago
No backup at all? Dude that's rough.
-2
alice_allen5
alice_allen518d agoTop Commenter
Reminds me of the time I spent three hours trying to figure out why my code wasn't working (turned out I'd typed 'teh' instead of 'the' in a string). Your story is way worse though.
10