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. 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. ✅ Summary Decomposition means breaking a big, complex problem into smaller, simpler steps. A big task like "tidy the room" or "build a house" is not one action — it is many smaller actions, each of which is specific enough to carry out. Programmers use decomposition to turn large, vague goals into ordered lists of commands a computer can follow. It is one of the most important thinking skills in all of programming. Coming up next: Decomposition in Everyday Life — you already do this constantly, without thinking about it.