Please note that the content of this book primarily consists of articles
available from Wikipedia or other free sources online. In computer
science, weak typing (a.k.a. loose typing) is a property attributed to
the type systems of some programming languages. It is the opposite of
strong typing, and consequently the term weak typing has as many
different meanings as strong typing does.One of the more common
definitions states[which?] that weakly typed programming languages are
those that support either implicit type conversion (nearly all languages
support at least one implicit type conversion), ad-hoc polymorphism
(also known as overloading) or both. These less restrictive usage rules
can give the impression that strict adherence to typing rules is less
important than in strongly typed languages and hence that the type
system is "weaker". However, such languages usually have restrictions on
what programmers can do with values of a given type; thus it is possible
for a weakly typed language to be type safe. Moreover, weakly typed
languages may be statically typed, in which case overloading is resolved
statically and type conversion operations are inserted by the compiler,
or dynamically typed, in which case everything is resolved at run time.