News for hackers. Stuff that matters.
Re:Why if TYPE_CHECKING? by n3150n on Wednesday December 20, 2023 @09:55AM (#38709308)
Could you expand on it? It is truly surprising for me that anyone would find code with type annotations to be significantly worse, for any reasons whatsoever.

On the contrary, I joyfully read and write code with type annotations. It is obviously very useful knowing which object types a function expects and which it will return.

Re:Why if TYPE_CHECKING? by mgaunard on Wednesday December 20, 2023 @10:45AM (#38709913)
verbosity tends to make code worse, not better.