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

69

u/A_Philosophical_Cat Dec 13 '20

I don't use a literal rubber duck, but it's definitely a thing where the act of explaining the problem to someone, even someone with no useful feedback to give, can help you come up with a solution.

Typically, I use a friend or coworker, but talking to a rubber duck would be equally effective.

2

u/KernowRoger Dec 13 '20

Yep I just talk programming at my wife and it often clicks. The other thing that works really well for me is getting some space from the project to let your brain think it over. Shower thoughts are real haha