Comment Comment by simonw The thing that finally got me on board with optional type hints in Python was realizing that they're mainly valuable as documentation.But it's really valuable documentation! Knowing what types are expected and returned just by looking at a function signature is super useful. parent simonw 1 year ago
But it's really valuable documentation! Knowing what types are expected and returned just by looking at a function signature is super useful.