Computing Atlas

How Computing Was Built
Sign In
Text size
100%
Theme
Concept

Gradual Typing

Foundational Concept

Gradual typing is a type system that allows for both static typing and dynamic typing but enforces types at runtime, and it lets software developers choose either type paradigm as appropriate from within a single language. The cited article says that in many cases gradual typing is added to an existing dynamic language, creating a derived language that allows, but does not require, static typing, while in some cases a language uses gradual typing from the start. It adds that there are performance and implementation complexity tradeoffs compared to dynamic or optional typing. Languages the atlas records as gradually typed are grouped under this entry.

Facts
Origin Year
2006 1
Connections

Typing Discipline Of Language

Sources
1. Gradual typing (Wikipedia)
  • Wikipedia, lead section
    Gradual typing is a type system that allows for both static typing and dynamic typing but enforces types at runtime.
  • History section
    The term was coined by Jeremy Siek, who developed gradual typing in 2006 with Walid Taha
  • In Group: Typing Disciplines, Lead
    Gradual typing is a type system that allows for both static typing and dynamic typing but enforces types at runtime.
View the Source
Cython (Wikipedia)
Typing Discipline Of Language: Cython, Introduction
Quote, Typing Discipline Of Language: Cython, Introduction
However, whereas standard Python is dynamically typed, in Cython, types can optionally be provided
View the Source
Comments (0)
No comments yet. Be the first to share a thought.
Reader Challenges (0)
No disputes yet. Spotted an error or a better source? Open the first one.