Make sure your code 'does nothing' gracefully.

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 This book is available from Amazon

0

Comments

0

Share