Step 10 of 15 · E · Locking the type
Wrong type? Bounces off
score=250
"hello"
score is stamped "num" — it only takes numbers.
Step 1 / 8idle
Watch what happens when Howie tries to drop text into a box with the number type.
The value does not go in — it bounces off the stamp like it hit a wall.
The box is keeping its promise: "I only accept numbers, and that is not a number."
This is good news — the program just stopped a mistake before it caused trouble.
Without a type, the wrong value might slip in unnoticed and break things later — somewhere far away from where the mistake actually happened.
A noisy bounce today saves a silent bug tomorrow.
The type is your safety net — it catches whole groups of mistakes the moment they happen.
Check yourself
Quick check
Howie tries to drop the word **"hello"** into a box with the *number* type. What happens?
Quick check
Why is a noisy bounce today usually a *good* thing?
