Hacker News new | ask | show | jobs
by lephty 1315 days ago
"Rubber ducking." As in speaking to your rubber duck with no expectation of a response? First time seeing this usage. Thanks.
4 comments

I think they’re probably referring to https://en.m.wikipedia.org/wiki/Rubber_duck_debugging
Moreso than that, imagine a rubber duck floating in the water: silently looking at you, nodding in understanding.
A way to deal with really perplexing bugs is to just carefully explain the code to an actual rubber duck.

"This code is obviously correct, right duck? Look here, this line first does x, then y happens and here... Wait a minute, that doesn't do z at all!"

Congratulations, you are one of today's Lucky Ten Thousand! https://xkcd.com/1053/