#{ Coding can of worms }
19-Feb-91 22:17:42
Sb: #7718-#{ Coding can of worms }
Fm: Mike Roth/Lattice 76566,1137
To: Black Belt Systems 76004,1771
I use the same coding style as most of the others have given. Unlike Don I
use the new ANSI style of function argument declaration. I.e.:
void main(int argc, char **argv)
{
as opposed to
void main(argc, argv)
int argc;
char *argv;
{
Another suggestion would be to adopt a consistent naming convention. At my
company any variable name that starts as lower-case is a local variable and
any variable in upper-case is a global variable. Little things like that
can make it much easier to understand what is going on in code.
— Mike Roth