What is Decomposition? Imagine it is Saturday morning. Your parent says: "Go and tidy your room." You walk in. There are clothes on the floor, your bed is unmade, books are scattered everywhere, and your desk is covered in bits and pieces. Where do you even start? The task — tidy your room — is too big. It is not one thing. It is many things all bundled together into a single phrase. And because it is so big and vague, it is hard to start. Unpacking the Big Task What if you thought about it differently? What is actually in "tidy your room"? 1. Pick up all clothes from the floor and put them in the laundry basket 2. Make the bed — straighten the sheet, fluff the pillow, put the duvet on straight 3. Stack all books on the shelf in order of size 4. Clear the desk — put stationery in the pencil case, throw away scraps of paper 5. Sweep or vacuum the floor Now it is not one overwhelming task — it is five clear, specific steps . Each one is small enough to start immediately. Each one has a clear finish line. That is decomposition . What is Decomposition? Decomposition means breaking a big problem down into smaller pieces that are each easier to understand and solve. The word comes from de-compose — to take something apart into its components. When you decompose a big task: The big task stays the same (you still need to tidy the room) But instead of one hard-to-start problem, you now have several small doable steps Each small step is a command a computer (or a person) can actually carry out Why is This So Powerful? Think about building a house. Nobody builds a house in one step. There is: 1. Lay the foundation 2. Build the walls 3. Put on the roof 4. Install windows and doors 5. Fit the plumbing and electricity 6. Paint and decorate Each of those stages is itself decomposed into even smaller steps. "Lay the foundation" is not one action — it involves digging, pouring concrete, levelling, and waiting for it to set. Decomposition can go as deep as needed. You keep breaking things down until each step is small enough to act on. Did you know? The word algorithm — a step-by-step method for solving a problem — comes from the name of a Persian mathematician, Muhammad ibn Musa al-Khwarizmi, who wrote about this kind of careful step-by-step working more than 1,200 years ago. Breaking problems down is a very old idea. Computers are just the newest thing to need it. The Two Questions of Decomposition Whenever you have a big problem, ask two questions: 1. What are all the separate things that need to happen? Break the big task into a list of smaller tasks. 2. Is each small task simple enough to do directly? If yes, it is a step. If no, decompose it further. You keep going until every step is clear, specific, and actionable. Decomposition in the Real World Big Goal Decomposed Into --- --- Go to school Wake up → get dressed → eat breakfast → pack bag → travel to school Make a phone call Unlock phone → open contacts → find the person → tap their number → wait for them to answer Buy something online Open the website → search for the item → select it → add to cart → enter address → pay Plant a garden Buy seeds → prepare the soil → dig holes → place seeds → cover with soil → water Every big goal in the table above feels manageable once it is broken down. And notice — each decomposed step is a specific action. Decomposition is the Programmer's Most Important Skill When a programmer gets a task — build a game , create a website , write a chat app — they do not start typing immediately. First, they decompose. What are all the pieces? What does each piece need to do? What is the smallest step I can start with? A beginner programmer writes vague instructions and gets confused when things go wrong. A good programmer decomposes the problem first, so every instruction they write is clear and purposeful. In the next post, we will look at how decomposition shows up in things you do every single day — without you even realising. 🎯 Try This Yourself The Sticky Note Explosion You need a stack of sticky notes (or small squares of paper) and a big empty table or wall. One rule: one step per note, never two. 1. On the first note, write a big goal. "Throw a birthday party" works brilliantly. So does "Get a new pet" or "Move house". 2. Stick it at the top. Underneath it, write the five or six big things that goal is made of — one note each. 3. Now the fun part. Look at every note and ask: could I start this right now, without thinking? If the answer is no, that note explodes into two or more smaller notes underneath it. 4. Keep exploding. Stop only when every note at the bottom is something you could begin this second. 5. Count your notes. Then find the note that had to be broken down the most times, and count how many levels deep it went. What to watch for: one short sentence usually turns into thirty or forty notes. And the notes that exploded the most are almost always the ones you had never really thought about — "send the invitations" hides de…