qualities of a good program
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 ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access