how to write computer books RSS

Tips, tricks, and techniques to make your computer books better. by David Barnes View David Barnes's profile on LinkedIn Email me: davidb at packtpub dot com. Get updates by email

Archive

May
9th
Fri
permalink
Punk’s DIY ethic meant that musicians got past the suck threshold faster than, say, a concert pianist. You can become a punk guitarist in 10 minutes. You’ve arrived. Form a band.
 After that, you have a life time to get better.
How much does a reader need to be a ‘punk’ programmer, web designer, or site builder? Can your book teach them this first, and then spend the rest making them better?

Punk’s DIY ethic meant that musicians got past the suck threshold faster than, say, a concert pianist. You can become a punk guitarist in 10 minutes. You’ve arrived. Form a band.

After that, you have a life time to get better.

How much does a reader need to be a ‘punk’ programmer, web designer, or site builder? Can your book teach them this first, and then spend the rest making them better?

May
7th
Wed
permalink
permalink
May
2nd
Fri
permalink

Incredible death defying video — check it out. This isn’t footage from Indy 4:

Originally built in 1901, this walkway now serves as an aproach to makinodromo, the famous climbing sector of El Chorro.

The best parts of this video are when the dangers seem worst and the challenges greatest. Give your tutorials a sense of danger and adventure

Don’t be cautious. Don’t say “before we can do something fun, we must do some dull stuff”. The earlier you get the action, the more dangerous it feels, the more fun they will have.

[via ElizabethN

permalink

Covering topics in the right order

A big part of planning a book is deciding what order to cover things in. This is an issue when planning the book as a whole, individual chapters, or sections within that chapter.

Happily, there are three organizing principles that you can use in almost any situation:

  • Move from simple to complex — start with the easiest bit
  • Group related topics together — variations on the same theme come close together
  • Follow a sequence of steps — gradually build something

In most books, each of these principles will play a part — and the best structure will use elements of each. Sometimes you have to find a balance between the 3 principles.

Think about how we would apply this to a beginner’s guide to programming:

Simple to complex — you would usually start with simple concepts like variables, if-then statements, loops, and other basics before moving onto creating libraries, classes and objects, and architecture decisions.

Grouping related topics together — you would tend to cover if-then and select case close together. For loops and Do loops would probably appear together too. They are obviously related.

Follow a sequence of steps — you probably wouldn’t teach programming by going through the steps you take to develop a program (starting with design, planning the architecture, etc.) because the early steps are some of the most complex. So in the case of learning to program, you might play down this principle.

There is no such thing as the perfect order. All you can do is avoid the really bad ones. Your book will be read by hundreds or thousands of people, and they won’t all have the same learning style.

Follow these organizing principles and you will end up with an order that will be fine for most people.

Comments (View)
permalink

5 steps to killer chapter outlines

Starting with a good chapter outline will make writing much easier. On the other hand, getting it right can take ages. Here are 5 key principles for buidling strong outlines.

  1. Put background at the back. Technical overviews, ‘what is…?’ questions, and so on make for a boring beginning. Plan to cover them at the end, if at all. Most authors naturally put this at the front. Resist that urge, damn you!
  2. Motivate at the front. At the beginning, give the reader reason to read on. Show the reader what’s in it for them. Show why it is necessary, useful, exciting, time saving, or whatever else makes it worthwhile. Tell them just how much they will acheive / learn in the chapter.
  3. Build the middle section around practical action. The bulk of each chapter should show the reader how to do things. This could be making decisions, completing tasks, or applying principles. Most of your sections should begin with an ‘-ing’ word such as building, creating, designing, choosing, and so on.
  4. Put major sections in a sensible order. There are three ways to order the middle part of a chapter. By increasing complexity, by logical grouping, or by process. Increasing complexity means starting with simpler topics, and getting more complicated gradually. Logical grouping means that related topics tend to come together. Process means that the chapter is built around completing a task in a realistic sequence. Use each principle to develop a sensible order for the main sections in your chapter.
  5. Stop planning, start writing. No chapter plan is perfect. Creating a plan that roughly follows each of these principles won’t take long. Once you have an OK plan, it’s time to start writing. No plan is perfect — but you won’t how imperfect it is until you start to execute it. So have faith and get started. You can always move stuff around later.
Comments (View)
permalink

Book writing: 3 ways to be practical

Readers love practical books. It’s something that all computer book publishers want to say in their blurbs, and want to see in reviews:

  • “Relentlessly practical!”
  • “No fluff”
  • “Hands on instructions”

Books are practical when they show readers how to:

  • Complete tasks — step-by-step instructions and functional references help here
  • Make decisions — pros and cons, factors to consider help here
  • Apply principles — tips and tricks, “10 ways to…” type lists are great at this.

Too many authors fill their books with information, without much thought about how to use it practically. The result is a chapter that feels like an essay, and a book that feels unreadable an inaccessible.

Always look for ways to help readers practically, and emphasise the practical implications of what you are saying. If readers don’t understand why something is useful to them, they won’t listen.

And always make sure you are helping the reader DO things, not just read about them.

Comments (View)
permalink
Not just for fiction authors… this will help you find the time and motivation to write… NOW!
Contains advice on: finding time in your day, minimal planning, increasing wordcount and progress, and having fun.
I would love if all the authors I worked with read this…

Not just for fiction authors… this will help you find the time and motivation to write… NOW!

Contains advice on: finding time in your day, minimal planning, increasing wordcount and progress, and having fun.

I would love if all the authors I worked with read this…

May
1st
Thu
permalink
Apr
29th
Tue
permalink
permalink
Apr
28th
Mon
permalink
permalink
Apr
25th
Fri
permalink
“Typography is what language looks like.”
Apr
24th
Thu
permalink

Conflict is your friend

For any book or story to be really satisfying to read it needs conflict. You won’t keep a tutorial engaging for several hundred pages without some battles here and there.

Without it your writing will seem flat and either like an encyclopedia or a marketing release. Boring, turgid, put downable.

Conflict doesn’t have to mean war. The ingredients of conflict are:

  • Somebody has a goal
  • An object or person gets in the way of that goal

You then resolve the conflict by finding a way to acheive the goal anyway, for changing your goal.

The object or person that gets in the way is called an antagonist. When writing technical books, you can find these antagonists:

  • Other stakeholders and characters: a boss who makes unrealistic or unpallatable demands; and administrator who won’t give you the rights you need; a client with their own unrealistic demands.
  • The tool itself, or the computer: at times we all hate the tools we work with. Computers are fussy, systems are non-intuitive. We have all crashed our fists on the keyboard at times. Don’t praise to tool all the time — sometimes it is the enemy.
  • The seeming impossibility of the goal: sometimes, a goal appears tough or impossible. Build this up sometimes — make it seem really hard — and then say “but I’m going to show you how to do it anyway”.
These conflicts probably exist in the reader’s life anyway… you can have fun by acknowledging and emphasising them in your writing.

Let me suggest this… look for ways to incorporate conflict into your next chapter, tutorial or book.

Let me ask you this… what are the conflicts that YOU face when learning a new tool or building a new system?

Comments (View)