Updated Zen of LBRY Development (markdown)
parent
b74308cff8
commit
7f1c52a5dd
1 changed files with 1 additions and 1 deletions
|
@ -5,7 +5,7 @@
|
||||||
1. Avoid loops in unit tests.
|
1. Avoid loops in unit tests.
|
||||||
1. Learn and use many of the `unittest` assert methods.
|
1. Learn and use many of the `unittest` assert methods.
|
||||||
1. Use function name to document what the function does.
|
1. Use function name to document what the function does.
|
||||||
1. Split large functions into smaller ones and use function name to document what the function does.
|
1. Split large functions into smaller ones and see previous rule.
|
||||||
1. Don't write redundant comments or doc strings.
|
1. Don't write redundant comments or doc strings.
|
||||||
1. Do write comments or doc strings to include references to specifications or other resources.
|
1. Do write comments or doc strings to include references to specifications or other resources.
|
||||||
1. Prefer writing clear code instead of clear comments to explain unclear code, clearly.
|
1. Prefer writing clear code instead of clear comments to explain unclear code, clearly.
|
||||||
|
|
Loading…
Reference in a new issue