Digital & AI literacy · 2026-07-25
When a Stone Blocks the Stream
Coding isn't just for screens. In mountain streams and living rooms, children use stones and blocks to explore the foundational logic of algorithms.
Imagine a summer afternoon in a Swiss Alpine meadow. A child crouches by a trickling mountain stream, carefully placing stones and twigs in the water. As a slightly larger stone drops into place, the current shifts to the left, flooding a small patch of grass. The child cheers, "If I put the stone here, the water goes that way!"
This is more than just play. Away from screens and keyboards, surrounded by nature, this child is exploring the very core of the digital world: computational thinking.
The Physical World's "If" and "Then"
When we think of digital literacy or coding, we often picture screens, apps, and complex lines of text. But for young children, the best "programming" foundations are built in the physical world. The pioneering Swiss psychologist Jean Piaget observed that young children construct knowledge through concrete interactions with their environment. Long before they can grasp abstract code on a screen, they need to understand logic through water, mud, and wooden blocks.
One of the foundations of computer science is conditional logic—the idea of "if A happens, then B will follow." When a child builds a tiny dam in a stream and watches the water spill over the edge, or when they lay down wooden train tracks and think, "If I put a junction here, the little red train will go to the snowy mountain," they are essentially writing early algorithms in their minds.
Trial, Error, and Everyday "Debugging"
Naturally, things don't always go according to plan. The mud dam might leak, or the wooden train might derail on a sharp curve. In computer science, this is called a bug, and the process of finding and fixing it is known as debugging.
For young children, things not working can quickly lead to frustration. However, this is a beautiful opportunity for adults to help reframe a "failure" as an intriguing puzzle. We can crouch down and ask with calm curiosity, "Where did the water escape?" Just as Sparkie might lightly ask, "What do you think happens next?" questions like these encourage children to step back, observe cause and effect, and try a new solution without fear of being wrong.
Breaking Big Things Down
Another essential component of computational thinking is "decomposition"—taking a large, complex problem and breaking it down into smaller, manageable steps.
This happens all the time in daily family life. Getting ready to walk to the forest kindergarten on a rainy morning can feel like an overwhelming task for a four-year-old. But if we break it down—step one: put on the waterproof trousers; step two: pull on the rubber boots; step three: pack the mid-morning snack—it becomes an algorithm. Practising these sequences doesn't just build logical thinking; it directly supports the brain's executive function. According to Harvard's Center on the Developing Child, strong executive function is a crucial building block for learning and adaptability.
By taking logic away from the screen and putting it back into children's hands and natural surroundings, we help them grow into confident thinkers who are deeply curious about how the world works.
Three Little Things to Try This Week
- Play "Robot and Programmer": Let your child be the programmer while you play the robot. Ask them to give you step-by-step instructions to cross the living room (e.g., "take three steps forward, turn right"). If you playfully bump into the sofa because they missed a step, it usually leads to giggles and a great lesson in refining logic.
- Build a physical maze: Use sofa cushions, dominoes, or books to create a winding path on the floor. Ask your child, "How can we get to the door without touching the red cushion?"
- Draw your morning "Algorithm": Take a large piece of paper and draw the three key steps of your morning routine together (e.g., a toothbrush, a T-shirt, and a pair of shoes). It turns a daily habit into a visual flowchart.