DEV Community

Cover image for Rubber duck debugging
Chris
Chris

Posted on • Edited on

Rubber duck debugging

Have you ever had a problem with your code you just can't figure out, so you sit down with someone else and ask for their help? And you walk them through your code and what it's supposed to do... and then suddenly, you see your error, clear as day, and feel like a bit of a fool!

I recently reminded myself of this wonderful effect and how to hack it to make it work for you; Rubber Duck Debugging. Save yourself the embarrassment by asking for help from, and explaining your code to, a handy rubber duck. Its gentle, calm demeanour will unerringly guide you towards the problem and allow you to fix it yourself.

Rubber Duck Debugging, saving lives since 1999.

Top comments (3)

Collapse
 
mezieb profile image
Okoro chimezie bright

we are glad you join us thanks for sharing but rubberduckdebugging.com/ This site can’t be reached

Collapse
 
strangequark profile image
Chris • Edited

Thanks, fixed. I'd set up the link incorrectly!

An inauspicious start xD

Collapse
 
mezieb profile image
Okoro chimezie bright

Yes is ok now,nice workπŸ‘