August 2010
Intermediate to advanced
288 pages
13h 21m
English
Many of the decisions you make when creating your programs will depend on your individual taste, and you will develop your own programming style. There is usually more than one correct way to solve a problem. However, a set of three rules is often used to judge the quality of a program. A program should do the following:
Perform the desired function
Be easy to modify
Be understandable by someone who knows the programming language used
The first rule seems pretty obvious, but it is not quite as simple as it may seem. Before you can be sure a program works, you first need to be able to say precisely what it should do. The complete description of what a program should do is called the program’s requirements. If you are creating ...