r/AskProgramming • • Dec 13 '20

Other Rubber duck debugging?

Stumbled upon an article that read when coders get stuck they tend to fall back on a rubber duck to debug. Is this actually true? How many people here actually practice this method?

58 Upvotes

41 comments sorted by

View all comments

16

u/KingofGamesYami Dec 13 '20

Yes, it's true. I do it quite frequently, though I usually start writing an email or forum post instead of literally explaining to a duck. Usually solve the problem before I get to a message that is sufficiently detailed to send, and if I don't - well, I already did 90% of plan B.

3

u/[deleted] Dec 13 '20

You also benefit from the added social pressure to explain it properly. I feel like sometimes I think "well, that works like this" while working through a problem and the part where I realize that doesn't make sense doesn't come until I'm saying it to a real person.