4 ms·
Yeah, if you're going to use static type checks, which you should, you really want to run the checker in strict mode to catch oversights such as generic contain
by Balinares 9mo ago
Yeah, if you're going to use static type checks, which you should, you really want to run the checker in strict mode to catch oversights such as generic container types without a qualifier.
Although I've found that much of the pain of static type checks in Python is really that a lot of popular modules expose incorrect type hints that need to be worked around, which really isn't a pleasant way to spend one's finite time on Earth.
- girvo 9mo ago> that a lot of popular modules expose incorrect type hints that need to be worked around Typescript (and Flow to a lesser extent) had this problem once upon a time. It’s a lot better today, so I imagine it will continue to improve.