News for hackers. Stuff that matters.
Re:Strict Python function parameters by wheelerof4te on Sunday January 23, 2022 @03:14PM (#30050012)
I am seemingly hostile to the idea because it is turning Python into somethimg it never should have been.

Python does not have the scale to make typing worthwhile, but people are already making it a required Python skill.

I this feature is optional, then I should not be required to know it, right?

If you want static typing, please use another language that makes use of them to actually speed up the code. Let's keep the docstrings for documentation.

Re:Strict Python function parameters by edgyquant on Sunday January 23, 2022 @03:26PM (#30050110)
You aren’t required to know it but I don’t think it’s fair for you to say that typing shouldn’t be added just because you don’t want to use it. JavaScript had been made better in the form of typescript and I’d love to use a truly typed python as well.
Re:Strict Python function parameters by peterashford on Sunday January 23, 2022 @03:52PM (#30050337)
100% this. I like Python but I'm working on a large inherited code base and type hints on parameters would have made this much easier. Stronger typing would be a good thing imo.