Type System

Noun · Development

Definitions

  1. The set of rules a programming language uses to assign and check types, preventing certain classes of errors. Ranges from dynamic (Python, JS) to static (Rust, Haskell), with varying degrees of expressiveness and strictness.

    In plain English: The rules a language uses to keep track of what kind of data each variable holds, catching mistakes like trying to divide a name by a number.

    Example: "Haskell's type system is so expressive that if it compiles, it probably works."

Related Terms