Computing Atlas

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

Weak Typing

Foundational Concept

Weak typing, also called loose typing, is the colloquial name for a language that is less strict about type errors. The cited article, titled Type safety because the title Weak typing redirects to it, says programming languages are often colloquially classified as strongly typed or weakly typed, also loosely typed, to refer to certain aspects of type safety, and that in contrast to a type-safe language, a weakly typed language may produce unpredictable results or may perform implicit type conversion. The article defines type safety as the extent to which a programming language discourages or prevents type errors, for example adding a string to an integer. Languages the atlas records as weakly typed are grouped under this entry.

Connections

Typing Discipline Of Language

Sources
Type safety (Wikipedia)
Wikipedia, lead section
Quote, Wikipedia, lead section
In contrast, a weakly typed language may produce unpredictable results or may perform implicit type conversion.
View the Source
Free On-line Dictionary of Computing: Weak Typing
Free On-line Dictionary of ComputingIn Group: Typing Disciplines, Dictionary entry
Quote, In Group: Typing Disciplines, Dictionary entry
Strict enforcement of type rules but with well-defined exceptions
View the Source
Wikipedia: MATLAB
Wikimedia FoundationTyping Discipline Of Language: MATLAB, Typing
Quote, Typing Discipline Of Language: MATLAB, Typing
MATLAB is a weakly typed programming language because types are implicitly converted.
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.