GNU coding standards

Here is a characteristic example: The consistent treatment of blocks as statements (for the purpose of indentation) is a very distinctive feature of the GNU C code formatting style; as is the mandatory space before parentheses.

All code formatted in the GNU style has the property that each closing brace, bracket or parenthesis appears to the right of its corresponding opening delimiter, or in the same column.

If you can't write comments in English, please find someone to work with you and translate your comments into English.Comments should consist of complete, capitalized sentences, each followed by two spaces (so that Emacs can tell where one sentence ends and the next begins).

An exception is made for programs whose job it is to update system configuration files in /etc.

There is one form of portability problem though, and that is the fact that the standard makes it clear that a program should run on different CPU types.