We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4a9e76a commit bd6f5c9Copy full SHA for bd6f5c9
docs/python/general.md
@@ -18,6 +18,7 @@ sidebar_label: General Coding Guidelines
18
- ternary with `if else` in same line. Donot use `and or` clause. i.e. `value and req_value or default`.
19
- `classmethod` for multiple way of class initialization
20
* use namespace whenever possible. Use `as SOMEOTHERNAMESPACE` for collision of namespace
21
+* use `mypy` and type annotation when possible for type safe code.
22
* `Docker` can be used for deployment. Use `python` images for [docker](https://hub.docker.com/_/python){:target="_blank"}.
23
* Use `generators` and `yield` instead of data structures for high streams of data.
24
* Use `itertools`, `functools` for utilities and `collection` for data structures.
0 commit comments