A program should be well-written so that it can be read and understood easily.
A program should be properly structured and comments may be given in places required.
It is a good coding practice to avoid hard-codedinput values in the program.
The program should also be documented properly so that it can be edited or added later by the same or a different programmer.
The program should be made portable, with less dependence on a particular operating system, as different Operating Systems ( OS ) are available and used widely.