Skip to content

Rubber Duck Debugger

Explain your problem to the duck. The duck understands. The duck judges silently.

The duck is calm and ready to listen.

0

problems quacked at

0 characters of pure frustration

How Rubber Duck Debugging Works

  1. Place the duck (or this page) in front of you
  2. Explain your code to the duck, line by line
  3. At some point, you will tell the duck what you are doing and realize that is not what you are actually doing
  4. The duck doesn't need to say anything. You found the bug yourself.
  5. Thank the duck

This technique has been scientifically proven to work 60% of the time, every time.

Psst... there might be a secret code. ↑↑↓↓←→←→BA