P. J. PLAUGER

 
Make your programs read from top to bottom.
- P. J. Plauger - Kernighan and Plauger, The Elements of Programming Style by Brian W. Kernighan, P. J. Plauger , ISBN: 0070342075
Where there are two bugs, there is likely to be a third.
- P. J. Plauger - Kernighan and Plauger - Chapter 6, The Elements of Programming Style by Brian W. Kernighan, P. J. Plauger , ISBN: 0070342075
Take care to branch the right way on equality.
- P. J. Plauger - Kernighan and Plauger - Chapter 6, The Elements of Programming Style by Brian W. Kernighan, P. J. Plauger , ISBN: 0070342075
Test input for validity and plausibility.
- P. J. Plauger - Kernighan and Plauger - Chapter 5, The Elements of Programming Style by Brian W. Kernighan, P. J. Plauger , ISBN: 0070342075
Don't patch bad code - rewrite it.
- P. J. Plauger - Kernighan and Plauger, The Elements of Programming Style by Brian W. Kernighan, P. J. Plauger , ISBN: 0070342075
Don't stop with your first draft.
- P. J. Plauger - Kernighan and Plauger, The Elements of Programming Style by Brian W. Kernighan, P. J. Plauger , ISBN: 0070342075
Make it right before you make it fast. Make it clear before you make it faster. Keep it right when you make it faster.
- P. J. Plauger - Kernighan and Plauger, The Elements of Programming Style by Brian W. Kernighan, P. J. Plauger , ISBN: 0070342075
Let the machine do the dirty work.
- P. J. Plauger - Kernighan and Plauger - Chapter 2, The Elements of Programming Style by Brian W. Kernighan, P. J. Plauger , ISBN: 0070342075
Choose a data representation that makes the program simple.
- P. J. Plauger - Kernighan and Plauger - Chapter 3 , The Elements of Programming Style by Brian W. Kernighan, P. J. Plauger , ISBN: 0070342075
Let the data structure the program.
- P. J. Plauger - Kernighan and Plauger - Chapter 4 , The Elements of Programming Style by Brian W. Kernighan, P. J. Plauger , ISBN: 0070342075
Make sure your code 'does nothing' gracefully.
- P. J. Plauger - Kernighan and Plauger - chapter 6. An obvious example of doing nothing gracefully is a sort routine called with a list of one element. The sorter should correctly do nothing., The Elements of Programming Style by Brian W. Kernighan, P. J. Plauger , ISBN: 0070342075