Type Systems — Junior¶
Static systems check before execution; dynamic systems check values at runtime. Nominal typing follows declared identities; structural typing follows shape. Product types combine fields, while sum types represent alternatives.
Model valid states and let diagnostics guide you.
Test yourself¶
- What error can a type checker prevent?
- How do sum and product types differ?
- Does dynamic mean untyped?
Continue to middle.md.