Basic Syntax

Dynamic Typing

English

Overview

A scheme where a variable's type is determined at runtime.

Details

A scheme where a type is determined at runtime based on the value assigned. It allows flexible code, but type-related errors aren't known until runtime. In recent years, retrofitting static type checking onto dynamically typed languages -- as with Python's type hints or TypeScript -- has become more common.

More Programming terms