If you're writing a program that's more than a few lines long, don't just sit down and start coding. You need to take three steps to make your program the best it can be. These are the three Ds:
• Document: Making sure others can read your program
• Design: Making sure your program is solving the right problem and is organized so that it's efficient and potentially reusable
• Debug: Making sure your program doesn't have any mistakes in it and that it responds appropriately when given wrong input
Was this article helpful?