Re:Show HN: Gawain – Require type hints on all Python variables
by mcswell on Sunday November 15, 2026 @01:28PM
(#50509352)
I recently added type checking on arguments and return types (not on the variable inside a function). I didn't exactly discover bugs, but I did run into a number of issues I wasn't expecting, like a function that returned TextIOWrapper in one case, and StreamWriter in another. Had to do some research to figure out which one I should be using.
[ Parent
| on HN ]
There are no comments on this comment yet.