GtkFC Coding conventions:


Class Name:

The name of the class must begin with an uppercase
and be constitued of words. Each words must begin
with an uppercase. Example: a socket for a client:
ClientSocket or SocketClient. Underscore and
'-' doesn't be used.
 
Method Name:
 
The rules is the same as class name. Example:
void ConnectToServer() or int GetResult().
 
Variables and fields name:
 
The name of the variables must be only composed of
lowercase. Names must be composed of words separated
with underscores. Example:
int result or char* hostname or char* host_name
If possible, do not use prefix to determine the type like
'i' for int ot 'p' for pointers.
 
Block of code:
 
If possible, do not use java style for blocks. Example:

while(true) {
    ...
}

must be replaced by:

while(true)
    {
        ...
    }