Programming Style Considerations

A good program is one that is not only efficient, but bug free
and easy to maintain. The following are some important
considerations:

Comments are not optional.
// style comments can be useful and
although not part of the formal C standard, are a defacto standard.
They are safer to use for an end of line
comment than the multi-line
/* comment */ style. Comments should be full words and sentences.

Constants should be obvious. The units of
constants should be documented. Let the compiler do the
calculation