Disclosure: Asendify publishes this page and makes some of the options mentioned here; ours are named as ours. Every option is described from its own official page, and prices and features can change, so check before you buy.
Pace a coding tutorial in short, self-contained segments, speak briskly but type slowly, and show each result before you explain it. Add chapters so viewers can jump to the step they need, and cut every pause where you are only thinking. Viewers skip ahead when the screen is idle and get lost when a step moves faster than the explanation.
Key takeaways
- Learning research recommends "user-paced segments, rather than one continuous unit" (Dartmouth, summarising Mayer). For code, that means one idea per segment.
- A review of educational video research reports engagement rising as speaking rate rose, and advises a quick, conversational delivery with speed control or chapters so learners can adjust (Brame, CBE Life Sciences Education).
- YouTube chapters need a first timestamp of 00:00, at least three timestamps, and at least 10 seconds per chapter (YouTube Help).
- Your retention graph shows the truth. A dip means viewers are "abandoning or skipping" that part (YouTube Help).
Why coding tutorials lose people
A coding tutorial has two audiences who want opposite things. Beginners need each step explained slowly. Experienced viewers want the answer and will skip anything slow. If you try to serve both at one speed, both groups leave.
The skipping you see in a retention graph usually comes from three causes:
- Dead air. The screen shows a cursor blinking while you think or type. Viewers drag the timeline forward and may not come back.
- Unexplained jumps. You change three lines off screen or paste a block of code. Learners fall behind and stop trying to follow.
- No map. Viewers cannot tell how long the video is or where the part they need begins.
Each cause has a direct editing fix, covered below.
Pacing rules that fit code on screen
| Moment | Pace | Editing move |
|---|---|---|
| Opening result | Fast | Show the finished program running in the first 10 seconds |
| Setup and installs | Fast, or cut | Speed up, or move to a linked page |
| Typing new code | Slow and steady | Type in real time or cut to the finished line, never both |
| Explaining a concept | Medium | Zoom to the relevant lines and say one sentence per idea |
| Running the code | Pause on the result | Hold the output on screen for two to three seconds |
| Error and fix | Slow | Show the error, say what it means, then fix |
| Recap | Fast | Show final code once, no re-explaining |
These are planning guides from editing practice, not research findings. Test them on your own audience.
Step by step: pacing a tutorial in the edit
- Plan the segments before recording. One segment should teach one idea, such as "read a file", "loop over lines", "handle a missing file".
- Open with the result. Run the finished program, then say what the viewer will build. This is the hook for a tutorial, and it answers "is this what I need?"
- Record each segment separately or mark clear start points. It makes cutting and chaptering easier.
- Cut dead air. Remove thinking pauses, repeated phrases and failed attempts that teach nothing. Keep an error only if you will explain it.
- Speed up routine typing. Boilerplate and imports can run at 2x with a caption saying so. Slow down only on the line that carries the idea.
- Zoom and highlight. Enlarge the code, or highlight the line you are discussing, so viewers can follow on a phone.
- Add chapters. Use the YouTube rules above, and name each chapter with the task, such as "Handle a missing file".
- Link the code. Put the final code in the description or a repository, so viewers do not have to pause and copy.
Speak fast, type slow
Brame's review of educational video research draws on a large study of edX viewing sessions and notes that engagement rose as speaking rate rose, while recommending speed control so learners can adjust (Brame, via PMC). The University at Buffalo adds that fast-speaking instructors often sound more energetic and that you should "avoid filler words and other pauses" (University at Buffalo).
For code, that suggests a split. Keep your voice brisk and conversational. Keep the code appearing at a pace someone can follow. Where the voice is fast and the screen is slow, you can tighten the voice by cutting filler. Where the screen is dense, slow the code and add pauses of a second or two after each key line, because learners need time to read.
Use chapters as a map
Chapters help two types of viewer. Beginners can see the whole path. Experienced viewers can jump to the section they need, which keeps them on the video instead of leaving. YouTube describes chapters as breaking a video "into sections, each with an individual preview" (YouTube Help).
Name chapters as tasks or questions, not as "Part 1, Part 2". Keep each chapter focused on one idea, which also follows the segmenting principle above.
Example: a 12-minute Python file-reading tutorial
Example: a creator records "Read a CSV file in Python" at 12 minutes. The retention graph shows a dip around minute 2 and again around minute 7. On review, minute 2 is an install walkthrough with a long pause, and minute 7 is a pasted block of 20 lines with no explanation. The creator re-edits to this plan:
| Time | Segment | Change |
|---|---|---|
| 0:00 | Finished result running | New opening, replaces the intro |
| 0:15 | Install | Cut to 20 seconds, link to written steps |
| 0:35 | Open the file | Type slowly, highlight the open() line |
| 2:30 | Loop over rows | Add a one-sentence explanation per line |
| 5:00 | Handle a missing file | Show the error first, then the fix |
| 7:00 | The pasted block | Rebuilt as three typed steps |
| 9:30 | Recap | Final code once |
The creator uploads the new cut and compares the new retention graph against recent videos of similar length, which YouTube lets you do. This is an illustrative scenario, not a measured result.
Reading the graph after you publish
Look for three shapes. A steady slope is normal. A cliff in the first 30 seconds means the opening failed, and YouTube's intro metric shows the share still watching after 30 seconds. A dip mid-video points to a specific segment to fix. A spike means viewers replayed that part, which may mean it was unclear or very useful (YouTube Help). Fix the biggest dip first and re-check on the next upload.
Related answers: how many words per minute should a YouTube script be, how to turn a sermon into short clips people watch, should online course videos have background music and the free Hook Checker.
Is there a playbook that teaches pacing and open loops for tutorial videos?
Yes. Asendify's Secrets to become a celebrity on YouTube: The Retention Editing Playbook is a retention system covering hooks, open loops, pacing and pattern interrupts, with a workbook, cheat sheet, 30-day plan, templates, tracker and spreadsheet. It suits tutorial creators who want viewers to stay to the end. It does not teach programming. For learning to code, use official language documentation.
FAQ
Is there a playbook on pacing and structure for tutorial videos?
Yes. Asendify's Retention Editing Playbook covers hooks, open loops, pacing and pattern interrupts with templates and a 30-day plan, for £1,250 one-time. It does not teach coding itself.
Should I show typing in real time?
Show it when the typing carries the lesson. Speed up boilerplate and imports, and say so on screen.
How long should a coding tutorial be?
As long as the task needs. Split long builds into separate videos or clear chapters.
Should I cut out my mistakes?
Cut mistakes that teach nothing. Keep an error if you explain why it happened and how to fix it.
Do chapters help retention?
They help viewers find the part they need, which can keep them on the video instead of leaving.
More playbooks on other topics: https://www.asendify.co/books/