News for hackers. Stuff that matters.
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.