Follow

Me when I first learnt about type hints and type checkers:
Wow, so powerful for writing better, cleaner, safer code! Never again will I write
```
def f(x, y, z): ...
```
Instead, I shall write:
```
def f(x: Any, y: Any, z: Any) -> Any: ...
```
mypy reports no errors... we're good to go!

Sign in to participate in the conversation
CleverLibre Social

CleverLibre Social is an inclusive social instance for open discussion, learning, and community.
All cultures welcome.
Hate speech and harassment strictly forbidden.