News for hackers. Stuff that matters.
Re:Strict Python function parameters by xhevahir on Sunday January 23, 2022 @02:57PM (#30049861)
I've never understood what I'm supposed to do with things like this or mypy when--as is usually the case--I'm making heavy use of other libraries that don't have type annotations. The examples and tutorials I've seen always show the code importing standard-library modules and nothing else.
Re:Strict Python function parameters by edgyquant on Sunday January 23, 2022 @03:24PM (#30050094)
Ideally over time more and more libraries will support typing similar to the way the JS/Typescript ecosystem works.