📖Writing a technical book: what really happens inside a writing session
In the previous posts, I talked about writing metrics and how to schedule writing sessions realistically. In this final article, I want to look at what actually happens inside a writing session — and at what is usually called writer’s block.
I don’t really believe in writer’s block when it comes to technical books. Let me explain why.
A writing session is not just about writing
A working session on a technical book is not limited to producing text. It also includes:
- reading documentation,
- researching,
- writing and testing code,
- preparing figures,
- proofreading and integrating feedback.
So even on days when inspiration is low, there is almost always something useful you can — and should — do. When the preparatory work is done, writing becomes much easier. It’s like building a house: once you have a solid blueprint, construction flows.
Remove the pressure to be brilliant
Another major source of blockage is self-judgment. First drafts are not supposed to be good. In her book Bird by Bird, Anne Lamott famously describes them as “shitty first drafts.” She writes:
Almost all good writing begins with terrible first efforts. You need to start somewhere. Start by getting something—anything—down on paper. A friend of mine says that the first draft is the down draft—you just get it down. The second draft is the up draft—you fix it up. You try to say what you have to say more accurately.
Personally, I didn’t hesitate to add jokes just to make myself laugh — sometimes late at night. Some of them even survived the editing process.
How I structure a writing session
I usually start a writing session by rereading and lightly fixing the previous work. This acts as a warm-up.
It helps me get back into the subject and re-establish tone and continuity.
I’ve read authors who explicitly avoid doing this, because they fear spending the entire session rewriting. That’s a valid approach. Each author has to find what works for them.
How to write a technical text
A technical book is not a novel. The rules are different. Readers will not necessarily read a chapter from start to finish. They may skim, jump sections, or come back later looking for a specific idea. That means you have to give them a reason to stay.
First, the opening paragraphs matter a lot. Early on, you should make it clear what the reader will gain by reading the chapter, with explicit statements such as “By the end of this chapter, you will…”.
Second, each meaningful section — and the chapter as a whole — should end with a short summary. This can take the form of a bullet-point list or a table with the key ideas. These summaries serve two purposes:
- they reinforce what the reader has just learned,
- and they provide a quick way to refresh one’s memory later, without rereading the entire chapter.
Next, you should avoid dumping huge code listings. Sometimes a short snippet does a much better job. If you do include larger listings, make sure they are properly commented and clearly explained.
In general, allow the reader to breathe.
That means avoiding long, dense pages of text and making sure there are pauses — both visually and mentally. Visually, this can be done with snippets, figures, or short definitions in callout boxes. Mentally, it can be a short, true story drawn from your professional experience and directly linked to what you are explaining. Be careful, though: those stories should remain short. A long anecdote quickly becomes an annoying digression.
Knowing when a text is done
How do you know when a section is finished? For me, it happens in two ways.
First, during rereads, the amount of change decreases. At the beginning, I rewrite entire paragraphs. Then only sentences. Then just words. Eventually, I’m mostly moving commas. When the text stops changing structurally, it feels solidified, and I know it’s done.
Second, it needs to feel right. Sometimes a passage technically makes sense, but something doesn’t flow. As long as that discomfort remains, I keep working — even if I can’t immediately explain why.
That said, there is a danger on the other side. If you rewrite a passage too much, its meaning can start to blur in your mind, like soup. At that point, pausing work on that section is often the right decision.
Let the text rest
Once a chapter is done, I let it rest for a few days. I try to forget about it. When I come back, I do a proofreading session — often on paper. Distance resets perception. Problems that were invisible on screen suddenly stand out.
It’s like bread fermentation: letting the dough rest allows the structure to develop, and imperfections become easier to spot.
Conclusion
You can find additional writing advice in the book Writing for Developers: Blogs that get read by Piotr Sarna and Cynthia Dunlop.
If these articles gave you a few practical tools, then it has done its job.
Enough reading. Now it’s time for you to write.