rusty (10/26/82)
Something I've adopted that I think is useful is using a continue statement when you have an empty for or while statement. For example for (cp = buf; *cp != NULL; cp++) continue; or while (*cp++ != NULL) continue; It has the same effect of just an empty statement but there is something there for your eyes to grab ahold of. I first saw this used in some of the kernel code in 4bsd; I assume it was Bill Joy's idea.