|
|
|
|
|
by darkkindness
2358 days ago
|
|
There really is a cost, in the form of having to rerun code a dozen more times to catch unresolved type errors. But AFAIK, that's it. Can I ask what I'm missing? What cost of this (optional) static typing are folks talking about? IMO this is worth it, since the goal is less about eliminating runtime errors or other errors, and more about encouraging documentation in code rather than in comments/docstrings. This makes reading code simpler, not less so. |
|
[1] https://mail.python.org/pipermail/python-dev/2015-April/1392...
[2] https://twitter.com/dabeaz/status/981832805540909056