Show HN: Gawain – Require type hints on all Python variables
discuss
- Points67
- Comments54
discuss
Yes, i really hate "dict[str, ANY]"
Story details from Hacker News ↗ · linked article on github.com.
Show HN: Gawain – Require type hints on all Python variables was first seen on Hacker News · Front page on Nov 15, 2026. Since then it has appeared in 97 checks on 2 different days, across 3 lists (Hacker News · Front page, Hacker News · Show HN, Hacker News · Show HN · this week). Its best position was #3 of 30, reached on Nov 15, 05:13 UTC. It dropped off the list after Nov 16, 05:50 UTC.
Position on Hacker News · Front page at every check (lower is better).
Best rank per day (UTC).
Platform metric as reported by Hacker News.
| List | Best | Days | Checks | Last seen |
|---|---|---|---|---|
| Hacker News · Front page | #3 | 1 | 31 | |
| Hacker News · Show HN | #1 | 2 | 48 | |
| Hacker News · Show HN · this week | #26 | 2 | 18 |
A few top-level comments from Hacker News, shortened. Read the full thread on Hacker News.
Gawain, the finest night alive (literally Þe most kydde knyȝtez vnder Krystes seluen) committed one indisputable, albeit minor, transgression under a regime of unsparing precision. > ȝe han redily rehersed, bi resoun ful trwe, Alle þe covenauntz þat I yow kende... ("You have readily recapitulated, by fully accurate…
This is awful. I love type correctness, but going all the way to flag PORT=8080? There should be a basic level of type inference. Especially for “typed” languages that have done typing very wrong, as Python or Typescript.
I really wish there was a "strict" mode like there is in perl. I know thats incredibly unlikely, as python is captain duck typing, and type inference is built so deeply into the language internals that its almost impossible to undo. But, just think of how many bugs you could squash by forcing type inference up front.…
Archived daily, weekly and monthly lists that include this entry.
Not at the moment. It was last on the list on Nov 16, 05:50 UTC, after 2 days of trending.
#3 on Hacker News · Front page, on Nov 15, 05:13 UTC. Trendoday checks this list every 15 minutes.
It was first seen on Nov 15, 2026 and has been on the list on 2 days (97 checks) since.
67 points and 54 comments; submitted by MarinhoD on Nov 15, 2026.