What is “rubber duck debugging”?
- Explaining your code to a rubber duck until you spot the bug yourself
- An automated testing tool
- A coding contest
- A famous computer virus
✔ Explaining your code to a rubber duck until you spot the bug yourself
Explanation
Works surprisingly well – explaining out loud forces precise thinking.