prog style quotes

Recent Love

Say what you mean, simply and directly.
- The Elements of Programming Style (Kernighan & Plaugher)

Write clearly - don't be too clever.
- The Elements of Programming Style (Kernighan & Plaugher)

Let your compiler do the simple optimisations.
Don't strain to re-use code; reorganise instead.
- The Elements of Programming Style (Kernighan & Plaugher)

Use the good features of a language; avoid the bad ones.
- The Elements of Programming Style (Kernighan & Plaugher)

Choose variable names that won't be confused.
- The Elements of Programming Style (Kernighan & Plaugher)

Make sure comments and code agree.
- The Elements of Programming Style (Kernighan & Plaugher)

Treat end of file conditions in a uniform manner.
- The Elements of Programming Style (Kernighan & Plaugher)

Format a program to help the reader understand it.
- The Elements of Programming Style (Kernighan & Plaugher)

Write and test a big program in small pieces.
- The Elements of Programming Style (Kernighan & Plaugher)

Test programs at their boundary values.
- The Elements of Programming Style (Kernighan & Plaugher)

Make sure special cases are truly special.
- The Elements of Programming Style (Kernighan & Plaugher)

Don't diddle code to make it faster - find a better algorithm.
- The Elements of Programming Style (Kernighan & Plaugher)

Indent to show the logical structure of a program.
- The Elements of Programming Style (Kernighan & Plaugher)

Use variable names that mean something.
- The Elements of Programming Style (Kernighan & Plaugher)

Don't use conditional branches as a substitute for a logical expression.
- The Elements of Programming Style (Kernighan & Plaugher)

Make sure input cannot violate the limits of the program.
- The Elements of Programming Style (Kernighan & Plaugher)

Use statement labels that mean something.
- The Elements of Programming Style (Kernighan & Plaugher)

Instrument your programs. Measure before making "efficiency" changes.
- The Elements of Programming Style (Kernighan & Plaugher)

Use self-identifying input. Allow defaults. Echo both on output.
- The Elements of Programming Style (Kernighan & Plaugher)

Use recursive procedures for recursively-defined data structures.
- The Elements of Programming Style (Kernighan & Plaugher)