Have you ever been stuck on a problem (school, work, personal, whatever) and as soon as you go to ask someone for help, you start explaining the problem and figure it out? You basically use the duck for that - explain the problem out loud to “someone else” and sometimes you’ll see what you were missing.
What is the rubber duck used for? Is it like the seashells in Demolition Man?
https://en.wikipedia.org/wiki/Rubber_duck_debugging
tldr; basically you explain your buggy code to the duck, and when you explain it, you suddenly realize what the issue is.
any inanimate or even imaginary object works, but rubber duck is the classic option.
I find my dog works well too, she’s a great listener.
I call it the Labrador method.
goodbest debuggerBest little bugger
Have you ever been stuck on a problem (school, work, personal, whatever) and as soon as you go to ask someone for help, you start explaining the problem and figure it out? You basically use the duck for that - explain the problem out loud to “someone else” and sometimes you’ll see what you were missing.
https://en.wikipedia.org/wiki/Rubber_duck_debugging
https://en.wikipedia.org/wiki/Rubber_duck_debugging
https://en.wikipedia.org/
lol