We have now gone through the various phases in the process of writing a software. These phases can be summarised as follows.
What (Analysis)
How (Design)
Do It (Implementation)
Test (Testing and Debugging)
Use (Operation or Deployment)
Maintain (Refinement)
A recommended way of writing programs is the procedure we have followed here - Do the analysis and design. Start implementing with a simple version. Test and debug it. Use it to ensure that it behaves as expected. Now, add any features you want and continue to repeat the Do It-Test-Use cycle as many times as required. Remember, "Software is grown, not built" .