Re:The state of type hints in Python
by swalladge on Thursday June 21, 2018 @02:04AM
(#17362526)
> Also, runtime errors are ok if they happen in your test cases.
Yes, but if some errors can be caught sooner by your linter/IDE/typechecker then it speeds up development. Would you rather be notified of a type mismatch immediately after saving the file or later when you run the test suite?
Yes, but if some errors can be caught sooner by your linter/IDE/typechecker then it speeds up development. Would you rather be notified of a type mismatch immediately after saving the file or later when you run the test suite?