What is 'Rubber Duck Debugging'?

Asked by stem_mind · 6 months ago

1 Answer

7
amorebise · 6 months ago Top Answer

This is a real technique! You explain your code, line by line, to a rubber duck (or a statue, or even your cat). By explaining it out loud, you often find the mistake yourself.

It works because it forces you to slow down and think clearly. I've 'duck-debugged' with my colleagues many times—except we used each other as the ducks!

Log in to add a comment.