News for hackers. Stuff that matters.
Re:Python’s “type hints” are a bit of a disappointment to me by zmgsabst on Friday April 22, 2022 @03:53AM (#31119284)
> this is not a limitation of the type system, but of a specific type checker (mypy), that will hopefully be fixed soon

> Sure, but that's just because the standard library (for now?) doesn't offer deserialization with runtime validation.

> it's just the tooling that is lagging a bit behind at the moment

So… the standard library has exactly the problem I articulated, and you’re violently agreeing while speaking down to me.

I think that reflects poorly on you.

Re:Python’s “type hints” are a bit of a disappointment to me by ImprobableTruth on Friday April 22, 2022 @11:26AM (#31122783)
Your initial statement was that the type system was a poor architectural choice because it doesn't support standard python idioms. To the best of my ability I've tried to communicate that there's an important difference between the type system and the standard library, that one can make it work and that the situation is not worse than most other typed languages.

If you think that's violently agreeing and talking down to you, then there must be some communication barrier that I don't know how to overcome.