|
|
|
|
|
by anyfoo
1065 days ago
|
|
Use mypy if you can, and then as much as you can. python's dynamic type system is not only a pain for debugging and for catching problems (before they arrive as cryptic runtime errors way too late in production), it also makes it hard for other developers to know how data is shaped, and what functions and methods are doing without deep inspection. mypy brings some of the sanity back. |
|