docs: updated HACKING style guide
This commit is contained in:
@@ -3,10 +3,11 @@ Code formating and ordering
|
|||||||
|
|
||||||
+ The source file will keep and order of methods. The order will be as
|
+ The source file will keep and order of methods. The order will be as
|
||||||
following:
|
following:
|
||||||
1. Private functions will go first.
|
1. Private functions will go first
|
||||||
2. class_init and init will go second.
|
2. class_init and init will go second
|
||||||
3. vfuncs implementations will go third.
|
3. interface init will go third
|
||||||
4. Public API will go fourth
|
3. vfuncs implementations will go fourth
|
||||||
|
4. Public API will go in the end
|
||||||
|
|
||||||
+ Methods naming will be according to:
|
+ Methods naming will be according to:
|
||||||
1. Private methods will have no prefix
|
1. Private methods will have no prefix
|
||||||
|
|||||||
Reference in New Issue
Block a user