Learn to Code with SaiLang

A step-by-step book for complete beginners, and for parents and teachers who want to learn alongside a child. Each chapter ends with a small project you can run in SaiLang IDLE.

The cover of Learn to Code with SaiLang

Read it free online

Turn the pages in your browser, full screen if you like. Press the arrow buttons, use the arrow keys, or swipe on a phone. Turning pages makes a paper sound. Nothing to install and nothing to pay.

Read the book now

Status: in progress. Not yet available to buy.

Price: to be announced.

Format: printed book, A5 page size (planned). Digital edition to be confirmed.

Get notified when it is ready

Leave your email address and the publisher will contact you when the book can be ordered. Your address is used only for this.

This form opens your email program with a message ready to send. Nothing is stored on this website.

What is in the book

The planned contents, which may change before publication:

  1. Hello, SaiLang. Installing, running your first program, and saying things.
  2. Words that hold values. Variables, numbers, and text.
  3. Making decisions. when and otherwise.
  4. Doing things again. Loops, stop and skip.
  5. Lists. Keeping many things together.
  6. Commands of your own. Inputs, results, and recursion.
  7. When things go wrong. Errors, try, and reading messages.
  8. Files and modules. Saving notes and reusing code.
  9. Windows and pictures. Building a small desktop app.
  10. Your first game. A coin-collecting game from start to finish.

Who it is for

Children aged about 9 and over who can read well, adults who have never programmed, and teachers who want a gentle first language. No previous programming experience is needed.