Re:Show HN: Gawain – Require type hints on all Python variables
by zbentley on Sunday November 15, 2026 @08:57AM
(#50506980)
That seems impossible, unless you’re using a very unusual definition of “bug related to a variable type”.
You’ve never had a bug caused by None showing up in code that didn’t expect it? Or getting an object of the wrong type that didn’t have the method you tried to call on it?
You’ve never had a bug caused by None showing up in code that didn’t expect it? Or getting an object of the wrong type that didn’t have the method you tried to call on it?