Rubber Duck Method
ELI5 — The Vibe Check
The rubber duck method is explaining your code problem to a rubber duck (or any inanimate object). By forcing yourself to describe the problem step by step, you often figure out the answer. The duck's just there for emotional support.
Real Talk
A debugging technique where a programmer explains their code, line by line, to an inanimate object (traditionally a rubber duck). The act of articulating the problem in natural language forces structured thinking and often reveals logical errors, wrong assumptions, or missed steps that weren't apparent while just reading code.
When You'll Hear This
"I explained the bug to my rubber duck and realized I was comparing strings instead of numbers." / "Rubber duck debugging works because you can't explain something you don't understand."
Related Terms
Code Review
A code review is when another developer reads your code before it gets merged, looking for bugs, bad practices, or anything confusing.
Pair Programming
Pair programming is two people at one computer — one types (driver), one thinks strategically (navigator).
Pseudocode
Pseudocode is fake code written in plain English that describes what your real code should do, without worrying about syntax.