A collection of quotes, fortunes, anecdotes, and quips. Get new quotes everyday on facebook, twitter, and tumblr.

prog style quotes

Make it right before you make it faster.
- The Elements of Programming Style (Kernighan & Plaugher)


Make it clear before you make it faster.
- The Elements of Programming Style (Kernighan & Plaugher)


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)


Keep it right when you make it faster.
- The Elements of Programming Style (Kernighan & Plaugher)


Treat end of file conditions in a uniform manner.
- 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)


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


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


Choose variable names that won't be confused.
- 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)


Format a program to help the reader understand it.
- 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)


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


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


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


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


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


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


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


Let the machine do the dirty work.
- The Elements of Programming Style (Kernighan & Plaugher)


Identify bad input; recover if possible.
- The Elements of Programming Style (Kernighan & Plaugher)


Don't sacrifice clarity for small gains in "efficiency".
- The Elements of Programming Style (Kernighan & Plaugher)


Avoid unnecessary branches.
- The Elements of Programming Style (Kernighan & Plaugher)


Keep it simple to make it faster.
- The Elements of Programming Style (Kernighan & Plaugher)


Make input easy to proofread.
- The Elements of Programming Style (Kernighan & Plaugher)


Use free-form input when possible.
- The Elements of Programming Style (Kernighan & Plaugher)