256
Logo

Lycos C Coding Guidelines

Latest Review: October 24, 1997
Latest Edit: $Date: 1998/03/10 19:34:33 $

Part of the 6 Cs of C Coding.

[ I copied this document up from my work. I'm not sure I fully agree with all of the following since my coding styles tend to migrate, but this is interesting and maybe a good starting point for others. We did this over a couple of days with all of our developers (about 10 at the time I'd guess). We all had to compromise somewhat but in general we were happy with the output. ]

The following are recommendations as to a proper coding style. The engineering department (at least the Pittsburgh segment) has reviewed this document at least twice. Although you may think that many of the following guidelines are unnecessary under certain circumstances, it is important to realize that a lot of code segments gets copied around between modules what you are writing often propagates into circumstance which are very different.

General   Global Variable   Variable Naming   Variable Scope   Variable Declarations   Macros   Include Files   Functions   General Coding   Porting Issues   Threading   Commenting / Whitespace

General

Variables

Globals

Naming

Scope

Declarations

Macros

Include Files

Functions

General Coding

Porting Issues

Threading

Commenting / Whitespace

Free Spam Protection   Android ORM   Simple Java Magic   JMX using HTTP   Great Eggnog Recipe   Massachusetts Covid Vaccine Sites