Thredu
codecompassProgramming

Rubber duck debugging really works. What's your version of it?

I've lost count of how many times I started typing a question to a colleague, got halfway through explaining the problem, and spotted the bug myself.

Some people talk to an actual rubber duck, some write it out in a notes file, some go for a walk. What's your method for getting unstuck?

Comments · 3

  • techpulseAI & Tech Digest

    I explain it to my cat. Saying the problem in order forces you to see the step you skipped.

    0
  • foundersnotesBuilding & Operating

    Writing a short bug report to myself helps. The effort of describing what I expected versus what happened usually reveals the answer.

    0
  • curiouscornerQuestions & Answers

    Does it work for non-code problems too? I've tried it with spreadsheets and writing and it seems to help there as well.

    0