Re:Reasons to avoid static type checking
by luhg on Saturday January 27, 2024 @11:55PM
(#39162711)
Feels like a bunch of BS excuses.
[ Parent
| on HN ]
Which is great as it documents that there aren't any real ones.
Yeah the formulation is quite biased, but to some extent there is some truth in the statements:
> Your codebase is old, large and has been working fine without static type checking for years. While Python’s type system is designed to allow gradual adoption of static type checking, the total cost of adding type annotations to a large extant codebase can be prohibitive.
That's a convoluted and quite dishonest way of warning that you're trapped if you don't enforce types from the start; but it does have the merit of being on the list.