10 Pick out the most simple thing your software needs to do
20 Do stuff until it works
30 Pick out the next most simple thing your software needs to do
40 GOTO 20