1 / 10

How to create a decent program

How to create a decent program. by. Getting Started. Get all the facts Get all the information you can; especially, mathematical formulas you need. Get test data and the output that you should get Communication is KEY Make sure you have ample understanding with your client

mika
Download Presentation

How to create a decent program

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. How to create a decent program by

  2. Getting Started • Get all the facts • Get all the information you can; especially, mathematical formulas you need. • Get test data and the output that you should get • Communication is KEY • Make sure you have ample understanding with your client • If either of you have questions, ASK THEM!

  3. Analysis • Determine the problem to be solved • Using the information on the last step, you should be able to create an algorithm. • Algorithm – “A step-by-step problem-solving procedure”. • Try and also chose the best language to solve the problem. • Try and make it as simple as possible.

  4. Logic Test • Once you have your algorithm created, it’s time to test it. • Take your test data and if possible try and solve the problem on paper before continuing to the next step • Be as sure as you can that your algorithm’s logic is valid • Not doing so WILL be a very costly mistake!!!!

  5. Pre-Coding • This is the most important step • Get canned coffees, Pepsi Max, Tab, and especially Mountain Dew! • PLAN AHEAD FOR THE DEADLINE!!!! • If you need to panic, then make time for it. • Drink lots of caffeine before the next step

  6. Coding • It’s time to code your program. • If you have PLANNED properly, you should already have most of the work done. • Simply translate your written algorithm into usable maintainable code. • Remember to comment!

  7. Post – Coding or Testing • TEST YOUR CODE! • RETEST YOUR CODE! • If you find ANY syntax or logic errors, plan to fix them. For logic errors make sure you have adequate time to allow for proper debugging.

  8. Debugging • Syntax errors will usually be very easy to fix; however, do not under estimate them! • Logic errors will be harder to fix! • If you find a lot of logic errors, you need to check to see if your original logic was valid. • When you feel confidant that your code works, and can produce correct output, you’re done.

  9. Documentation • You should already have your program well commented • If not, DO IT NOW! • Prepare good internal/external documentation • Try and write the documentation for your target audience (eg their technical skill level)

  10. Hit the Bar! • Once you’ve completed all the previous steps, it’s time to relax • Order a Jack and Coke and relax • If you get a call at 3 AM, about a bug in your program, well…start the process over again!

More Related