O
0
c/coding-for-beginnersanthonymurrayanthonymurray8d agoTop Commenter

The 2AM stack trace that flipped my opinion on rubber duck debugging

I used to think talking to a rubber duck was the dumbest thing ever. Last week I was stuck on a null pointer in my Python script for 3 hours, super frustrated. My buddy on Discord told me to explain each line out loud to my cat, and I laughed at him. Actually tried it with my tabby named Pixel, and by line 12 I realized I was checking the wrong variable name. It took me 20 minutes to fix the whole thing after that. Has anyone else had a dumb simple trick like this actually work when you were deep in the weeds?
0 comments

Log in to join the discussion

Log In
0 Comments

No comments yet

Be the first to share your thoughts on this discussion.