Autzoo.1533 hacknews utzoo!henry Mon Apr 5 21:04:42 1982 C style standard As a start on defining a local set of programming standards, for the purpose of making people's lives easier when taking over other people's code, I've done up a modified version of a C-style document from Bell. "/usr/doc/run cstyle | lpr" for a copy. Comments are solicited, it's not cast in concrete. Policy now is that all C code to become part of the system (i.e., which users other than the author are dependent on) must follow this unless there is a good reason to be different. Personal preference is not good enough; the whole reason for a standard is that personal preferences differ. (Nor should it be assumed that the standard accurately reflects MY personal preferences; it doesn't. It DOES reflect, fairly well, the de facto standard set by most existing C code.) Some existing code deviates from the new standard to varying degrees. Particularly in the case of large deviations, it is not worthwhile to restyle existing code unless it is being worked over drastically. And mixing styles in a single program is an absolute no-no. But new code should be written to conform to the standard.