Developers“Clear thinking becomes clear writing; one can't exist without the other.”
The duck on the desk
Programmers have a name for an odd, reliable trick: rubber duck debugging. You explain the problem, line by line, to an object on your desk, and somewhere in the middle of the explanation you hear the mistake. The duck never says a word. It doesn't need to.
It works because explaining forces you to stop skimming. You can't say "and then it just works" out loud without noticing that, actually, it doesn't.
The trick is described in The Pragmatic Programmer, and every developer who has tried it has a story about the bug that vanished halfway through a sentence. The explanation does the work. The listener is optional.
Keep the explanation
Usually that explanation disappears the moment the bug is fixed. Which is a shame, because it was most of a good bug report, or most of a good pull request description.
Dictate it instead of just saying it. You get the same debugging benefit, and when you're done you have a written account of the problem in plain language that you can tidy up and paste into the ticket.
It's also a kindness to whoever reviews your change. A short paragraph saying what was broken, why, and how you fixed it saves them from reverse-engineering your reasoning from the diff. Reviews go faster, and they catch more.
Three things to say
What you expected to happen. What actually happened. What you've already tried. Say those three, in that order, and you've written the report your teammates wish everyone wrote.
For the code itself, the keyboard is still the right tool. Voice is for everything around the code: the explanation, the reasoning, the note to your future self about why this line looks strange.
“If you can't explain it out loud, you probably don't understand it yet.”
Documentation nobody has to be nagged to write
Most teams have a backlog of things that should be written down and aren't: why the service is configured this way, what to do when the nightly job fails, which flag must never be turned off. The knowledge exists in someone's head. Writing it down feels like a chore, so it waits.
Talking it through takes a few minutes. Ask yourself the question a new teammate would ask, and answer it out loud. Clean it up, commit it next to the code, and the next person who hits the problem finds an answer instead of a mystery.





