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
Source Wikipedia: MATLAB
Sources
Type safety (Wikipedia)
Wikipedia, lead sectionQuote, 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 entryQuote, 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, TypingQuote, Typing Discipline Of Language: MATLAB, Typing
MATLAB is a weakly typed programming language because types are implicitly converted.
View the Source Reader Challenges (0)
No disputes yet. Spotted an error or a better source? Open the first one.
Sign in to dispute this or suggest a correction.