← Read the chapter
PROLOG MADE EASY / 01

Think Differently!

Learning Prolog is not just learning new syntax.

PROLOG MADE EASY / 02

You can drive a car.

So… could you drive a van?

PROLOG MADE EASY / 03

Your brain reuses what it knows.

Driving a van builds on your driving skills.

PROLOG MADE EASY / 04

Python → Java

Different syntax. Many familiar imperative ideas.

PROLOG MADE EASY / 05

Now let’s go surfing!

A wave is coming. Where is your steering wheel?

PROLOG MADE EASY / 06

WHERE’S THE STEERING WHEEL?!

There isn’t one. That’s the point.

PROLOG MADE EASY / 07

Spanish → Italian → Japanese

Sometimes the familiar mental model stops helping.

PROLOG MADE EASY / 08

The Prolog trap

“Where is my for loop?” “How do I update this variable?”

PROLOG MADE EASY / 09

STOP LOOKING FOR THE STEERING WHEEL!

Think in relationships, not a sequence of assignments.

PROLOG MADE EASY / 10

Wait… no loops?!

Recursion becomes central. We’ll learn it step by step.

PROLOG MADE EASY / 11

HOW vs. WHAT

Imperative: HOW? · Logic programming: WHAT relationships hold?

PROLOG MADE EASY / 12

Grab your surfboard.

Let’s learn Prolog!