News for hackers. Stuff that matters.
Re:Reasons to avoid static type checking by luhg on Saturday January 27, 2024 @11:55PM (#39162711)
Feels like a bunch of BS excuses.
Re:Reasons to avoid static type checking by jupp0r on Sunday January 28, 2024 @01:27AM (#39163057)
Which is great as it documents that there aren't any real ones.
Re:Reasons to avoid static type checking by BenoitP on Sunday January 28, 2024 @01:31AM (#39163073)
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.