Skip to content
slang.fyi

rubber duck debugging

/ˈrʌbər dʌk dɪˈbʌɡɪŋ/

Common

Solving a problem by explaining it out loud to an object or person who says nothing back.

Widely accepted as a real and effective debugging technique, not just a joke. Used both literally and as a broader metaphor for any forced verbal explanation revealing a solution.

Real-world examples4 examples
#ExampleWhat it meansSource
01started explaining the bug to my coworker and found it before i even finished the sentence. rubber duck debugging works every timeVerbalizing the problem was enough to reveal the solution.x, 2023
02i literally keep a rubber duck on my desk. my team thinks im joking but rubber duck debugging has saved me so many timesThe person uses rubber duck debugging as a serious part of their workflow.reddit
03before you file the ticket, just rubber duck it with your cat or whatever. you'll probably figure it outSuggesting the person talk through the problem before escalating.reddit, 2024
04chatgpt is just rubber duck debugging but the duck talks backFraming AI coding assistants as an upgraded version of the classic technique.x, 2024

Use it when

  • You are stuck on a bug and need to talk through the problem.
  • You explain a problem to someone and solve it mid-sentence before they respond.
  • Recommending someone talk through their code before asking for help.

Do not use it when

  • You just mean asking for help from an actual person.Use “pair debugging” instead.
  • You mean using an AI chatbot specifically.

Origin and context

Popularized by 'The Pragmatic Programmer' (Hunt and Thomas, 1999), which described the technique of explaining code to a rubber duck. The idea spread widely through developer culture and became a standard piece of programming folklore.

First seen
1999
Confidence
high

Cite this page

Use this stable URL to reference the entry.

https://slang.fyi/rubber-duck-debugging
Updated: 2026-08-28License: CC BY 4.0

Related slang

it works on my machinepair programming