Tech News
← Back to articles

Baby's first type checker

read original related products more articles

Austin Z. Henley Associate Teaching Professor

Carnegie Mellon University [email protected]

@austinzhenley

github/AZHenley

Baby's first type checker

8/31/2025

Have you ever wondered how type checking works? Me too—let's make one!

Python allows optional type annotations like this:

def foobar(name: str | None) -> str: return "Fizz!" buzz: int = 42

... continue reading