← All articles
Developers

How to Dictate Code Comments Without Losing Your Mind

September 26, 2026·4 min read

Code comments are one of the most procrastinated tasks in software development. Not because developers don't understand their importance, but because stopping to write prose in the middle of a coding session feels like switching languages mid-sentence. Your brain is in logic mode. Words want to come out as syntax.

Voice dictation fixes this in a specific and practical way. You don't have to switch modes. You just talk.

Where Dictation Actually Helps Developers

Let's be precise about this. Dictating code itself is awkward. Saying "open paren string name close paren colon" is slower than typing it and more error-prone. Don't do that.

What dictation is genuinely good for, in a developer context, is everything around the code. Comments explaining why a function works the way it does. Docstrings. README sections. Ticket descriptions. Slack messages to your team. Notes in Notion or Obsidian while you're debugging something complex. Internal documentation that always ends up incomplete because nobody wants to type it.

These are all prose tasks. And prose is exactly where dictation saves time.

The "Explain It Out Loud" Workflow

Here's a concrete workflow that takes about 30 seconds to build into a habit. When you finish writing a function, before you move on, press your dictation key and say out loud what you just built and why.

"This function handles the retry logic for failed API calls. We use exponential backoff starting at 200 milliseconds because the upstream service rate-limits hard on burst traffic. Max retries is set to five based on the SLA, not a default."

That's your comment. You already knew all of it. You just needed to say it.

With a tool like VoiceInk, that whole capture takes under 10 seconds. The text appears wherever your cursor is sitting. You don't open a new window, you don't switch context, you just talk and keep going.

Capturing Debugging Notes in Real Time

Debugging is a thinking-out-loud activity already. You trace through logic, form hypotheses, test them. Most of that internal monologue disappears the moment you fix the bug, and two weeks later you're staring at the same section of code with no memory of what you learned.

Try narrating your debugging sessions into a scratchpad. Open a notes file alongside your editor, and when you figure something out, say it.

"The null pointer is happening because the config object isn't initialized before the logger instantiates. It only fails in test environments because prod seeds the config from a different entry point."

This takes five seconds. It gives your future self, or your teammate, a complete explanation of what happened and why.

Documentation That Doesn't Get Skipped

The documentation problem in most teams isn't laziness. It's that documentation feels like a separate task to schedule, and it never gets scheduled because there's always actual code to write.

Dictation lowers the activation energy enough that documentation can happen in the moment. Finished implementing a new API endpoint? Dictate the usage notes before you open the next ticket. Just figured out why the build was failing on CI? Say it into the README section while it's still fresh.

Documentation written at the moment of understanding is almost always better than documentation written later from memory. Dictation makes that timing practical.

Setup Is Minimal

You don't need a special microphone to start. The built-in mic on a MacBook handles dictation well in a quiet environment. If you're in an open office, a basic headset works fine and has the side benefit of signaling to your colleagues that you're concentrating.

VoiceInk runs locally, so your code, your architecture notes, your internal monologue about why a coworker's PR is problematic, none of it leaves your machine.

If you've been putting off writing documentation because you hate the task, try talking it instead. It's a different experience than typing it, and often a faster one.

Stop typing. Start talking.

VoiceInk turns your voice into text in any app. Local, fast, private. Free to start.

Download VoiceInk Free