GO-V.ORG
As seen in

Rubber duck debugging

in use by a developer to aid debugging Rubber duck debugging (or rubberducking) is a debugging technique in software engineering, wherein a programmer explains their code, step by step, in natural language—either aloud or in writing—to reveal mistakes and misunderstandings.[src]

in use by a developer to aid debugging]] Rubber duck debugging (or rubberducking) is a debugging technique in software engineering, wherein a programmer explains their code, step by step, in natural language—either aloud or in writing—to reveal mistakes and misunderstandings.[src] ==Origin and definition== The name is a reference to an anecdote told in The Pragmatic Programmer by Andy Hunt and Dave Thomas.[src] The book described rubber ducking as the method of explaining a problem to another party who does not "need to say a word; the simple act of explaining, step by step, what the code is supposed to do often causes the problem to leap off the screen and announce itself".[src] The term referred to a research assistant, Greg Pugh, who carried around a rubber duck to which he could address such explanations.[src] Variations of the practice use other objects or even pets; teddy bears are especially common.[src] ==Approach== Programmers often discover solutions while explaining a problem to someone else, even to people with no programming knowledge.[src] Describing the code, and comparing to what it actually does, exposes inconsistencies.[src] Explaining a subject also forces the programmer to look at it from new perspectives and can provide a deeper understanding.[src] The programmer explaining their solution to an inanimate object (such as a rubber duck) has the advantage of not requiring another human, but also works better than thinking aloud without an audience.[src] This approach has been taught in computer science and software engineering courses.[src] ==In popular culture== On 1 April 2018, Stack Overflow launched an April Fools' Day joke called Quack Overflow.[src] A rubber duck avatar appeared in the bottom right corner of the screen, listened to user problems, and pretended to type solutions, only to respond with a simple "quack" sound.[src] It referenced rubber ducking as a powerful method for solving problems.[src] ==See also== Code review Pair programming Socratic method Desk checking Duck test Duck typing Software walkthrough Think aloud protocol Pointing and calling Rogerian method Worry dolls Learning by teaching Body doubling ==References==[src]

15 sentences · 15 cited inline · 0 references stored

References

No reference rows published for this article.

Cite this article

MLA

"Rubber duck debugging." encyclopegia.org, 2026, https://encyclopegia.org/wiki/rubber-duck-debugging. Accessed 04 December 2026.

Chicago

"Rubber duck debugging." encyclopegia.org. Accessed December 4, 2026. https://encyclopegia.org/wiki/rubber-duck-debugging.

APA

encyclopegia.org. (2026). Rubber duck debugging. Retrieved December 4, 2026, from https://encyclopegia.org/wiki/rubber-duck-debugging

Accessed December 4, 2026 · CC BY-SA 4.0 · citation page · JSON

CC BY-SA 4.0 · share-alike · https://en.wikipedia.org/w/index.php?oldid=1373444570 · 0.5 · snapshot enwiki-001373444570

Cite · JSON · Search

Related services and records

Services

  • Estate — measured countries, lanes and facts
  • Intel — live corroborated events
  • Legal — statutes, cases and citations
  • Encyclopedia — articles with inline sources
  • Space — launches, satellites and orbits
  • Search — federated search and reports
  • Pass — passport account and SSO
  • Corpora — read-only corpus origins
  • e01 — self-hosted corpora and tools
  • Careers — open roles: frontier engineers and sales partners
  • Index — every corpus, paper and record
  • Estate guide — what a public data estate is
  • Founder — Lois-Kleinner Alpasan
  • Records — DOIs and external deposits
  • Documents — one-pagers, PDFs and QR codes
  • Brand kit — logos and share images
  • Papers — plain-language briefs with citations
  • Browser — search engine, PWA and bookmarklet
  • Anticloud — the operator and its projects

As seen in Business Insider · 336 outlets · evidence DOIs · plain-language papers

Text and metadata only; each target carries its own sources. Missing data is published as no-data, never estimated.