type-checking

Verifying variable types

Type-checking is the process of verifying that values in a program match their expected data types—ensuring a function expecting a number doesn't receive text, for instance.

Languages differ in when this happens: static type-checking occurs before the program runs, while dynamic type-checking happens during execution.

The compiler caught the bug during type-checking.

tools

compiler

Source-to-machine-code translator

  • interpreterOne who conveys meaning between languages
  • linterSource code inspection tool
  • flowUnbroken forward movement

IDE · autocomplete · diagnostics · squiggles

verification

static

Without motion or change

nominal · structural · generics · polymorphism · soundness · completeness

Opposites
verification phase

type-checkingexecution

Completing a planned task

runtime · running · interpretation · evaluation · computation

program validation approach

type-checkingdebugging

Error removal from programs

trial and error

type enforcement

type-checkinguntyped

Not input via keyboard

typeless

Family

type, check, checking, types, typed, typing, typist, typical, typically

Familiarity
Top 1,000,000
Profile
Used worldwide · Timeless · Abstract · Rated G