Dynamic Typing

Noun · Development

Definitions

  1. A type system where variable types are determined and checked at runtime rather than at compile time. Python, JavaScript, and Ruby are dynamically typed — a variable can hold a string one moment and a number the next.

    In plain English: A system where the computer figures out what type of data a variable holds while the program is running, not before — flexible but sometimes surprising.

    Example: "Dynamic typing lets you prototype fast, but you pay for it later when a string sneaks into a function expecting an int."

Related Terms