▲ | wenc 7 hours ago | |
They are verbose but correct. I've caught some errors this way. I usually don't think of None as a potential return value (= voids in C) but the LSP code analysis usually picks up on code paths that don't return a value. I don't find Python's typing valuable for Jupyter type explorations, but they're immensely valuable for catching little issues in production code. |