skunkworks-c/README.md

15 lines
446 B
Markdown
Raw Normal View History

2022-12-19 14:56:01 +01:00
# skunkworks-c
2022-12-21 07:09:29 +01:00
## code standard
snake_case for variables, function names, and struct names.
always explicit struct, no typedefs.
2022-12-22 10:05:39 +01:00
prefix struct members with _ (yes, its allowed, but _within_ structs only) if "private".
function order:
- create functions(including unnamed value type ones)
- destroy functions
- empty line
- static functions(ones that don't take object as parameter)
- empty line
- methods(ones that do take object as parameter)