← All articles
Developers

Dictating Code Comments Without Losing Your Flow

July 13, 2026·4 min read
Dictating Code Comments Without Losing Your Flow

Most developers have a folder somewhere full of functions with names like doTheThing and comments that say // fix this later. The code works. The explanation does not exist. Six months pass and you are the person who has to read it.

The problem is not laziness. It is friction. Stopping to write a thorough comment breaks the mental state you need to write the next block of code. So you skip it, and the knowledge lives only in your head, briefly.

Why Voice Changes the Equation

Typing a useful comment takes time. Not a lot, but enough to feel like a penalty for doing the right thing. Speaking that same comment takes ten seconds.

When the cost drops that low, behavior changes. You actually document things. Not because you became a more disciplined developer, but because the trade-off shifted.

With something like VoiceInk running on your Mac, you press a key, say what the function does, why you made a particular decision, what edge case it handles. Done. Back to code. The comment is there, it is useful, and you barely broke stride.

What to Dictate and What to Type

Not everything should be voice-driven. This is important.

Dictation is excellent for: inline comments explaining intent, commit messages, README sections, pull request descriptions, Slack messages to your team, notes-to-self inside a ticket.

Dictation is awkward for: variable names, function signatures, anything with special characters, code itself.

The workflow is hybrid. You type the code. You talk the explanation. Each tool does what it does best.

The Commit Message Problem

Commit messages are one of the most consistently bad artifacts in software development. Not because developers do not care, but because at the end of a session, typing a thoughtful message feels like extra work.

Speaking a commit message is faster than typing a lazy one. You can say, in fifteen seconds, what changed, why it changed, and what you were thinking. Future you, and future teammates, will actually understand the history.

Documentation Sprints

Some developers find it useful to do a short voice session at the end of each coding block. Before you close the file, you press the dictation key and narrate what you just built. Not a formal document, just a spoken summary that becomes raw material for actual documentation later.

This works because the knowledge is fresh. You know exactly why you made the choices you made. That context evaporates faster than you expect. Capturing it while it is live costs almost nothing.

A Note on Accuracy With Technical Terms

Voice transcription handles plain English well. Technical terms are a different story. Library names, framework-specific vocabulary, and company-specific jargon will sometimes be transcribed incorrectly.

The practical solution is to dictate in plain language and replace the technical terms manually during a quick edit pass. Say "the authentication middleware" instead of trying to dictate a specific package name. Your comment will be more readable anyway.

You can also build a short habit of scanning dictated text for obvious errors before committing it anywhere. It takes seconds and catches most issues.

The Real Win Is Consistency

The best documentation is not the most detailed. It is the documentation that actually exists.

Developers who dictate comments and notes end up with codebases that are genuinely easier to work in, because the explanation for every non-obvious decision is sitting right there. Onboarding new teammates takes less time. Debugging six-month-old code takes less time. Code reviews take less time.

If your current documentation habit is somewhere between inconsistent and nonexistent, voice input might be the lowest-effort change you can make to fix it. Try talking through your next function before you close the file. See if it sticks.

Stop typing. Start talking.

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

Download VoiceInk Free