What is


The rubber duck method, also called "rubber duck debugging" or "rubberducking", consists of explaining a programming problem to a rubber duck in a meticulous way and out loud.

This exercise helps to highlight inconsistencies and solve the programming problem.

The name is a reference to a story in the book The Pragmatic Programmer in which a programmer would carry around a rubber duck and debug their code by forcing themselves to explain it, line-by-line, to the duck.