Skip to content
How to ThinkIn the Age of AI
Definitionv1DF-225

Type system

a set of rules that assigns a property called a 'type' to every object in a system, then restricts which operations are valid for each type, making certain categories of error structurally impossible rather than detectable after the fact.

Why This Is a Definition

This definition names the term 'type system', identifies its genus as 'set of rules', and specifies its differentia by describing the mechanism (assigning types to objects and restricting operations) and the purpose (preventing errors structurally rather than detecting them). It's precise enough to distinguish from related concepts like validation or constraints, and uses the curriculum's terminology consistently.