News for hackers. Stuff that matters.
Re:Proposing a Struct Syntax for Python by nomel on Thursday June 15, 2023 @12:16AM (#36336322)
> are worth the overhead?

What overhead, specifically?

I've found it reduces overhead. Rather than using English to describe the types, in the comments/docstrings, I can just type the terse type hint in the function definition, and leave the rest to the documentation renderer. If you don't document anyways, sure.

Re:Proposing a Struct Syntax for Python by yuppiepuppie on Thursday June 15, 2023 @03:14AM (#36337374)
I use python daily and dont use typing. The reason being that I choose python for it readability. And I find typed python to be less readable than non-typed python. If I wanted a typed language, I wouldnt want python.