Question about the $35 stuffed debugging duck I got at a Seattle gift shop that my girlfriend still makes fun of | Coding For Beginners - Pinecone Attack
Question about the $35 stuffed debugging duck I got at a Seattle gift shop that my girlfriend still makes fun of
I hit a wall on a Python web scraper about 4 months ago, just error after error for 3 straight nights. My girlfriend dragged me into a gift shop in Seattle and I grabbed a $35 plush duck on a whim because it had a little lab coat. The joke is you explain your code out loud to the duck before you run it, and I swear it fixed my bug in 20 minutes. Turned out I had a variable named list shadowing the built-in list on line 34. She calls it my $35 rubber duck and says I got played by a toy store. Do these things keep working or is it just placebo and I should save my money next time?