News for hackers. Stuff that matters.
Re:Python’s “type hints” are a bit of a disappointment to me by j4mie on Friday April 22, 2022 @09:24AM (#31121252)
What's your definition of "large codebases" here? My experience is that on Python codebases large (~100k lines) and small, type annotations are generally a net negative, particularly with a "rotating roster of many developers", because of their complexity and detrimental effect they have on readability. As the OP says, incorrect types are worse than no types at all.
Re:Python’s “type hints” are a bit of a disappointment to me by gilbetron on Friday April 22, 2022 @10:11AM (#31121748)
type hinting is a bandaid, I'm not going defend it. My argument is that statically typed languages are better for large scale development.
Re:Python’s “type hints” are a bit of a disappointment to me by j4mie on Friday April 22, 2022 @10:31AM (#31122025)
You still haven't defined "large scale" or "better". And you haven't backed up your argument with any evidence.