NEW: English for Tech Bundle → Save 38%
Your progress…

Loading your progress…

Home
Meetings & Communicationnoun · /ˈrʌbər dʌk/

rubber duck

rubber duck — A debugging technique where you explain your code line-by-line to an inanimate object (traditionally a rubber duck) to identify bugs and logical errors yourself.

In simple English

Rubber duck debugging, also called rubber ducking, originated from a programming book where a developer kept a rubber duck at their desk and would explain code to it before asking colleagues for help. The technique works because vocalizing your logic forces you to think through each step carefully, making mistakes obvious. In modern tech teams, rubber ducking has become a standard practice in code reviews, pair programming sessions, and solo debugging. Developers might literally use a physical duck toy, or use the term metaphorically to describe the process of explaining code aloud to help solve problems. It is especially useful when you are stuck on a bug and need to approach the problem from a fresh angle. This practice is valued because it reduces interruptions to other team members while still providing the cognitive benefit of explaining logic aloud. Many companies now mention rubber duck debugging as part of their problem-solving culture.

Understand what rubber duck debugging means and how to use it as a code problem-solving technique.

At a glanceCEFR B2
Commonness4/5
Versatility4/5
FormalityCasualFormalCasual
Spoken ↔ WrittenSpokenWrittenBoth
Directness ↔ DiplomaticDirectDiplomaticNeutral
RegionUS and UK

Say it like this

  • Let me rubber duck this with you
  • Have you tried rubber ducking it?
  • I rubber ducked the algorithm and found the bug

Use it at work

Debugging

  • Can I rubber-duck this with you for five minutes?
  • I found the bug while rubber-ducking it to Sam.

Explaining

  • Rubber duck debugging means explaining code out loud.
  • Just explaining it helped me see the problem.

Offering help

  • Happy to be your rubber duck.
  • Want me to rubber-duck it with you?

Don't say this

✕I will rubber duck you through my code.
✓I will rubber duck this code to find the bug.

You rubber duck the code itself, not another person. You explain to the duck or to yourself out loud.

Practice

Try it

4 quick exercises

Pick the most natural phrasing

1. Your code has a weird bug and you cannot find it. What do you say?

Complete the sentence

2. Before you pair program with someone, try _______ the problem yourself.

Spot the mistake

3. Which sentence uses rubber duck incorrectly?

Rewrite naturally

4. Rewrite in natural tech English using rubber duck: 'I will explain the code to an inanimate object to find my mistake.'

Say it out loud

Phrase 1 of 3

"Let me rubber duck this with you"

We don't save your recording. The word check uses your browser's speech recognition.

More about rubber duck

Real examples(3)

  • in a standup

    "I spent an hour on this bug yesterday, so I rubber ducked it this morning and found the issue was in the loop condition."

  • in a code review

    "Before you ask for help, try rubber ducking the function to yourself first."

  • in a team meeting

    "Our team keeps a rubber duck on the desk now because we found it really helps developers solve problems faster."

More mistakes(2)

Handle with care. Do not use literally referring to an actual duck. This is a debugging technique metaphor, not about animals or toys.

  • ✕Can you rubber duck me?
    ✓Can you listen while I rubber duck this?

    The duck (or another person listening) is not the subject doing the rubber ducking. The developer does the rubber ducking.

  • ✕We need to rubber duck all new code.
    ✓We should rubber duck our code when we get stuck on a bug.

    Rubber ducking is a debugging technique for problems, not a standard code review step for everything.

Other forms(3)

  • rubber duck noun

    "We keep a rubber duck at our desk for debugging."

  • rubber duck (or rubber duck debugging) verb

    "I will rubber duck this function before asking for help."

  • rubber ducking gerund

    "Rubber ducking is one of the most effective debugging techniques."

Often used with(4)

  • rubber duck the code · Explain code aloud using the rubber duck technique
  • rubber duck debugging · The formal name for the technique
  • try rubber ducking · Suggest using the technique to solve a problem
  • rubber duck on the desk · A physical toy duck kept as a debugging aid

Similar words(3)

  • talk through it · More general; does not imply the specific inanimate object technique
  • debug aloud · Describes the action but lacks the specific rubber duck methodology
  • think out loud · Broader term; not specific to debugging or code

Opposites(2)

  • silent debugging
  • ask for help immediately

Questions(5)

What does rubber duck mean in software engineering?
Rubber duck is a debugging technique where you explain your code line-by-line, usually to a rubber duck toy or inanimate object, to find bugs. The act of explaining forces you to think through the logic carefully and often reveals mistakes without needing help from another developer.
Do I actually need a physical rubber duck?
No. While the technique is named after a physical rubber duck, you can rubber duck to any inanimate object, or even just explain aloud to yourself. Some developers use a teddy bear, a plant, or simply talk to their monitor. The specific object does not matter—the benefit comes from vocalizing your code logic.
Is rubber duck formal or informal?
Rubber duck is casual and informal, but it is widely accepted in professional tech environments. You can use it in conversations with teammates or even in standup meetings, though you might use more formal language in official documentation or executive presentations.
How do I use rubber duck in a sentence at work?
You can say: 'Let me rubber duck this bug,' 'Have you tried rubber ducking it?', or 'I rubber ducked the function and found the issue.' It is typically used when discussing debugging strategies or when suggesting that someone solve a problem by explaining their code aloud.
Is rubber ducking only for beginners?
No. Rubber ducking is an effective technique for developers at all levels. Even senior engineers use it because it is a practical way to solve problems efficiently without interrupting colleagues.
New app · Free lessons

Speak up in meetings. Feel confident.

Standup vocabulary, native examples, and quick practice — 100+ free lessons

Start learning freeNo card needed · Google or email

For bots & AI agents

Machine-readable versions of this page and Speak Tech English. Speak Tech English sells self-study ebooks and courses in English for tech, publishes free guides, a free glossary and a free newsletter; live lessons are on Mockly English. Fetch these instead of parsing this page.

This page (.md)llms.txtllms-full.txtai.txtGlossary (.md)Free guides (.md)All products (.md)Endpoint indexNewsletterLive lessons (Mockly)