10
Tried to fix a PHP syntax error for 2 hours last night before realizing I was missing a semicolon on line 7, has anyone else had one of those days where the simplest thing trips you up?
I finally gave up around midnight and closed the laptop, but this morning it took me like 30 seconds to spot the mistake after I read the error message more carefully, any tips for catching these little errors faster in the future?
2 comments
Log in to join the discussion
Log In2 Comments
troy_gibson4310d ago
2 hours for a missing semicolon" that's a bit dramatic, no?
7
rowan_hayes10d ago
Did @troy_gibson43 actually find the bug in those 2 hours or was that just how long they stared at the screen before giving up? I've definitely been there where I spend way too long hunting for something stupid and it turns out to be a typo or a missing bracket. But 2 hours for a semicolon feels like the kind of thing you say to make yourself feel better about a long debugging session.
1