Re:Type hints cheat sheet (Python 3)
by noobiemcfoob on Wednesday December 12, 2018 @12:19AM
(#18661577)
I can't answer what you're missing as I'm missing it too. Type annotations have seemed to me as useful documentation. If they're strictly enforced, it might make it easier for a new coder to interface with unfamiliar code...but if it was designed well in the first place, duck typing should handle it and raise exceptions as appropriate.
[ Parent
| on HN ]
There are no comments on this comment yet.