Write a teleprompter outline for a live coding lesson
Short answer
A live coding teleprompter outline holds only the lines you say: the goal, a prediction before each run, a checkpoint after it, and a recovery line for when something breaks. What you type goes in silent notes. In a 5-minute segment that is often under 60 spoken words, about 25 seconds at 140 words a minute. The rest is typing and explaining in your own words.
Key points
- Script the goal, predictions, checkpoints and recovery lines. Do not script keystrokes.
- Put what to type on note lines that start with # or in square brackets. ZeroPrompter shows notes but never expects them to be spoken.
- Say what the next run should prove before you run it. A prediction makes a failure useful instead of awkward.
- Type the code live rather than pasting it, and go slowly enough that viewers can follow.
- Share only the editor or terminal window, so the outline stays off the recording.
A 5-minute outline, line by line
This outline teaches a guard against an empty list in an average function. The spoken lines total 56 words, about 24 seconds at 140 words a minute. The note lines tell you what to type and run. Everything else you say is unscripted explanation while you type, which is the point of live coding.
| Beat | Seconds | Words | Line |
|---|---|---|---|
| Goal | 7.7 | 18 | In the next five minutes, we'll make this failing test pass by adding one guard to the function. |
| Note | Typing | 0 | # run: pytest tests/test_stats.py -k empty |
| Prediction | 6.9 | 16 | Before I touch anything, watch the test fail. The error should say we divided by zero. |
| Checkpoint | 3.9 | 9 | There it is. Division by zero. Now the guard. |
| Note | Typing | 0 | # type at the top of average(): if not items: return 0 |
| Result | 5.6 | 13 | Run it again. Green. An empty list now returns zero instead of crashing. |
Keep a recovery line at the bottom of the outline, ready to use anywhere: “That didn't do what I expected. Good. Let's read the error together.” It buys you time and models the habit you want learners to copy.
One weak line, rewritten
Before: “Okay, so now I'm going to type def average, open bracket, items, close bracket, colon.” Reading syntax aloud is slow, about 6.4 seconds for 15 words here, and viewers can already see it on screen.
After: “Before I touch anything, watch the test fail. The error should say we divided by zero.” This tells viewers what to look for and why it matters. Instructor training for live coding gives the same advice: go slowly, say what you are doing as you do it, then point to the output and go through it again. It also says not to copy-paste code, and to treat mistakes as teaching moments.
Source: The Carpentries Instructor Training, Live Coding is a Skill
Keep commands visible but silent
You need exact commands and file names in front of you, but you should not be expected to say them. In ZeroPrompter, a line that starts with # and any text in square brackets is a note. Notes appear in a different color and Follow my voice never waits for you to speak them.
Follow my voice also suits the rhythm of live coding. When you stop talking to type, it waits. When you explain something that is not in the outline, the words match nothing in the script, so it holds your place. When you say the next scripted line, it moves on. After ten quiet minutes it pauses and lets go of the microphone, so press Start again if a long debugging stretch runs that far.
If your recording setup cannot share the microphone, use Steady scroll at a slow speed or move through the outline yourself with the Left and Right arrow keys, one sentence at a time. For more on writing notes, see how to keep scene notes out of voice following.
Protect the share and rehearse one failure
Capture only the window you teach from. In OBS, Window Capture records one application window and its contents, so your outline can sit on the same screen without appearing in the recording. Turn off notifications, use a large editor font, and check a short test recording that includes switching from the editor to the terminal and back.
Then rehearse the failure path once. Break the code on purpose, say the recovery line, read the error aloud, and fix it. A planned failure is easier to deliver than a surprise one, and it shows you how long the recovery takes.
Common questions
Should I write a full script for a live coding video?
No. A full script fights with typing, because you cannot read and type at the same time. Script the goal, predictions, checkpoints and a recovery line, and explain the rest in your own words while you type. The outline keeps you on track without making you sound like you are reading.
Where should I put the code I need to type?
On note lines in the outline, or in a separate reference file next to the editor. In ZeroPrompter, lines that start with # and text in square brackets are notes, so you can see them without voice following waiting for you to say them.
What do I say when the code fails unexpectedly?
Use a prepared recovery line, then read the error aloud with your viewers. A line like “That didn't do what I expected, so let's read the error” keeps you talking while you think, and shows learners how to debug instead of hiding the mistake.