Created Zen of LBRY Development (markdown)
parent
4b8c8be9a3
commit
9028de9a73
1 changed files with 10 additions and 0 deletions
10
Zen-of-LBRY-Development.md
Normal file
10
Zen-of-LBRY-Development.md
Normal file
|
@ -0,0 +1,10 @@
|
|||
1. Write less code that does more in a clear way.
|
||||
1. Craft intuitive and composable APIs.
|
||||
1. Avoid loops in unit tests.
|
||||
1. Learn and use the many `unittest` assert methods.
|
||||
1. Don't create a class when there is no state to manage.
|
||||
1. Don't write redundant comments or doc strings.
|
||||
1. Do write comments or doc strings to include references to specifications or original implementations.
|
||||
1. Prefer writing clear code instead of clear comments to explain unclear code, clearly.
|
||||
1. [KISS](https://en.wikipedia.org/wiki/KISS_principle)
|
||||
1. [The Zen of Python](https://www.python.org/dev/peps/pep-0020/)
|
Loading…
Add table
Reference in a new issue