Prex Home > Document Index > Coding Standard

Prex Coding Standard

Version 0.1 (Draft), 2005/03/07

Prex source code should be written with:
  • K&R style
  • tab width: 8
  • indent: 8
  • No space afeter cast
Or, you can use "indent" utility with the following options.
$ indent -kr -i8 -ts8 -ncs -psl foo.c
Tab is not white space.

Don't ask me about tab and its width. I have ever seen many religious war about it...
The answer is "because many BSD/Linux kernel hackers are using it". ;-p