stepwise refinement

Top-down programming or stepwise refinement is a particular type of structured programming, where the overall problem is defined in simple terms and then split into a number of smaller tasks. Each of these tasks is successively split and refined until they are small enough to be understood and programmed.