|
|
|
|
|
by bakery2k
2360 days ago
|
|
Spot on. Static typing has benefits, but it also has a cost. Python's optional type hints have all the complexity but only some of the benefits - in my experience, runtime type errors are still common. > To me it feels like python is running as far away from simplicity as fast as possible. Despite its reputation, Python hasn't been a simple language for a long time. |
|
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.