Break it down: decomposition
Loading…
What you will learn
By the end, you can split a big task into smaller steps and say why that makes the task easier.
Making breakfast sounds like one big job, but it is really lots of small ones: get the bowl, pour the cereal, add the milk. Programmers call this decomposition — breaking a big problem into smaller steps that are easy to do one at a time.
Read the explanation
Decomposition means breaking a big problem into smaller, easier pieces. Each piece is simple to understand, do and check on its own. When you put all the pieces together, the big job is done. This is the same skill programmers use before they write any code.
- Break the big job into smaller steps.
- Do and check each step on its own.
- Put the steps together to finish the whole job.
