IT lexicon › Programming › Dynamic typing

Dynamic typing

Programming På svenska → Updated: 2026-11-13

Type checking performed at runtime, not at compile time. A variable can hold any type of value.

Dynamic typing lets variables change type freely. A variable can start as a number, then become a string. Lisp and Smalltalk are classic examples. The advantage is flexibility and faster to write; the disadvantage is that type errors aren't caught until the program runs. This was a core feature of early Lisp and APL, giving them a very different feel from compiled languages.

← Back to the lexicon