How To Design Programs

Posted by Jeff Dlouhy on 11/15 at 11:07 PM

image

I

The design recipe makes you think out the whole solution before you start writing any code. This may seem tedious at first, but when you start getting into complex problems, the recipe helps you to break up your code into smaller, manageable pieces.

So why am I explaining all this? Well I am going to show what happened when I did not think of the whole problem by breaking it up into smaller pieces and then getting the overall picture. I made one small blunder in the beginning that I just tried to fix with hack after hack and in the end; I had to re-write my entire program.

This particular assignment was to design a

Commenting is not available in this weblog entry.