Show HN: Gawain – Require type hints on all Python variables
MarinhoD
19 points
5 comments
November 15, 2026
Yes, i really hate "dict[str, ANY]"
Related Discussions
Found 5 related stories in 120.1ms across 12,728 title embeddings via pgvector HNSW
- Show HN: Gauge – Open-Source CLI to recursively improve your docs 0x63_Problems · 26 pts · November 04, 2026 · 46% similar
- Show HN: Is It Greg? antoineleclair · 55 pts · September 14, 2026 · 46% similar
- Show HN: Build with Python – a beginner course where your code draws davidwshao · 33 pts · October 04, 2026 · 44% similar
- Show HN: Agent in 9 Lines Python tosh · 17 pts · July 22, 2026 · 44% similar
- Show HN: Kit. Claude Code but Concise danielkov · 12 pts · September 02, 2026 · 44% similar
Discussion Highlights (4 comments)
__mharrison__
Be cool to have a strict Python that actually runs fast with types...
Garlef
Maybe not for me but I love the attitude. (And actually, my personal objection is incidental: The python syntax is not pretty to begin with and the situation does not improve with even more visual verbosity)
gavmor
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 accounting, all covenants that I declared.") I can't think of a more fitting name except, perhaps, the speaker of these lines: the exacting Lord Bertilak.
orsorna
This is cool. And I appreciate the cheeky comment about not using this program if your IDE or whatever does type checking already :) But honestly, after I realized I appreciate types being enforced, I started writing in different languages. I rarely return to Python unless I'm scripting something that doesn't require longevity.