The discussion of good programming style may be summarized with the following guidelines.
1. Take care to present programs well.
Don't choose a name without a purpose.
Don't leave a component's purpose unspecified.
Descriptions should be simple even if tasks are not.
2. Communicate well.
Store data only where it is needed (use local variables).
Pass information explicitly when needed elsewhere (use parameters).
Avoid side effects.