B
2

I thought 'pair programming' was just a silly buzzword until I tried it.

My friend and I were stuck on a Python function for two hours, so we screenshared on Discord and talked it through. We fixed the bug in like 15 minutes because he spotted a missing colon I'd looked at a dozen times. Has anyone else had a moment where a coding technique you doubted actually saved you?
3 comments

Log in to join the discussion

Log In
3 Comments
danielw12
danielw1229d ago
That missing colon thing is so real, it's like your brain just stops seeing the obvious after a while. What kind of bug were you guys actually trying to fix before you spotted the syntax error? I'm curious if the real problem was deeper and the colon was just the surface issue.
7
amy974
amy97429d ago
Oh man, we were chasing a weird data type mismatch for ages.
2
dixon.iris
dixon.iris29d ago
Totally get what you mean. I've stared at a missing comma in a list for an hour, convinced my logic was broken. @danielw12 makes a good point about deeper issues, but sometimes the fix really is that simple. Your brain just glazes over the same lines. Having another set of eyes, even just to say "hey what's that", breaks the tunnel vision instantly. It turns a frustrating solo grind into a quick solve.
6