V
15

That 3am ChatGPT debugging session that flipped my whole opinion on AI code review

I always said AI couldn't catch real logic errors, but last Tuesday it spotted a race condition in my Python script that I'd stared at for 4 hours, so has anyone else had a moment where an AI tool proved them dead wrong about its limits?
1 comments

Log in to join the discussion

Log In
1 Comment
wright.leo
Used to think AI was basically a fancy autocomplete that would just suggest the same dumb stuff I'd already tried. Then it called out a variable shadowing issue in a Django view that was only breaking under certain conditions, stuff that looked correct on its face. I'd literally walked through the logic line by line with print statements and missed it. It wasn't even a huge deal, just a stupid naming mistake, but it made me rethink how I use tools. Now I sort of run my sloppier code through it first just to catch the dumb stuff I'm blind to. Still not letting it near my database migrations though.
2