Step 3 of 15 · A · Why we need a box
A box appears — but it has no name
Hmm, the stage is empty…
Step 1 / 9idle
A box is the home a value has been waiting for.
A box can hold one value at a time — pop the lid, drop a value in, close it back up.
Once a value is inside, it stays there until you decide to change it.
Programmers have a special word for "a box that holds one value" — they call it a variable.
But there is still a problem: this box has no name.
Imagine a warehouse full of identical brown boxes with no labels — you would never find the right one again.
A nameless box is almost as useless as a homeless value, so the next step is to give it a name.
Check yourself
Quick check
Why is a box without a name still nearly useless?
Quick check
Which sentence describes a variable correctly?
