Self sign-up has been disabled due to increased spam activity. If you want to get access, please send an email to a project owner (preferred) or at gitlab(at)nic(dot)cz. We apologize for the inconvenience.
@@ -36,6 +36,12 @@ Many of the rules of the [FreeBS kernel style](https://www.freebsd.org/cgi/man.c
...
@@ -36,6 +36,12 @@ Many of the rules of the [FreeBS kernel style](https://www.freebsd.org/cgi/man.c
* Tabulators are used for block indentation.
* Tabulators are used for block indentation.
* When continuing with function parameters or expression that didn't fit the first line then the parameters/expression are shifted additional four spaces (not a tab) on the second line. Should a similar issue occur on next (third) line, then additional 4 spaces may be added again (resulting in 8 spaces - not a tab). Should a similar issue arise again (fourth line) when continuing the line (expression/function call is too long) then rather change the code instead of continuing with this mess.
* When continuing with function parameters or expression that didn't fit the first line then the parameters/expression are shifted additional four spaces (not a tab) on the second line. Should a similar issue occur on next (third) line, then additional 4 spaces may be added again (resulting in 8 spaces - not a tab). Should a similar issue arise again (fourth line) when continuing the line (expression/function call is too long) then rather change the code instead of continuing with this mess.
* Typedefs are generally not OK.
* They can create confusion especially when mixed with some keywords such as `const`.
* The only legitimate usage of a `typedef` are:
* When working with a nested type a function or a method where the visibility of the typedef is local.
* Should a template if a template situation occur (e.g. to avoid errors when working with `foreach`).