This is a list of sigops coding style guidelines that should be used wherever possible on AlectOS.
Guidelines:
if (someval == someconst)
{
/* level 1 of indenting */
if (retval)
{
/* nested indent */
}
}
Basically, don't put the open brace on the same line that starts a block.
And no matter what you do, DO NOT use GNU style brain-dead indenting.
Anybody caught indenting in this manner will be shot and hung.
// correct
/* correct */
//not good
/*not good*/
/* c-style */
// c++ style
uint8 acceptable_var_name;
uint8 unaccessableVarName;