7. Reading Errors

Level: beginner · Reading time: 3 min · Prerequisite: book/poche/06-modules.html · Last review: 2026-05-09

TL;DR (5 lines)

  • Read the core idea first.
  • Understand one concept at a time.
  • Run small examples.
  • Fix errors early.
  • Move to next chapter only when clear.

Frequent mistakes

  • Skipping prerequisites.
  • Reading without trying examples.
  • Fixing too many errors at once.

Prerequisites: book/poche/06-modules.html. See also: book/chapters/10-diagnostics.html.

Goal

Fix an error in 3 simple steps.

Example

Typical error: unknown symbol.

Why it matters

Knowing how to read errors avoids wasting time blindly.

Quick check

What is the first error to correct when there are 5?

Try this

  1. Read the first error only.
  2. Correct locally.
  3. Recompile.

If you're stuck

Never correct 5 errors at once: one by one.

Mini quiz

  1. What is the main goal of this chapter?
  2. Which concept is most important?
  3. What will you try right now?

See also

Next best action

Apply one idea from this chapter in a tiny example, then continue.