Decomposition
Breaking a complex problem into smaller, manageable pieces that can be solved individually.
Definition
Breaking a complex problem into smaller, manageable pieces that can be solved individually. This is one of the most important skills in programming and in life — no large problem is solved all at once.
Example
Building a to-do app seems overwhelming. Decomposed: (1) display a list of items, (2) add a new item, (3) mark an item complete, (4) delete an item. Now each piece is solvable.
See it in context Learn how Decomposition fits into the bigger picture of how software actually works.
Read the Guide →