This is the opposite to StaticallyTyped, where type checks are done at runtime. For instance Python is an example of a dynamically typed language, it allows you to pass any type to a function, however some internal functions can only take specific types.
- for example
- def mul(a,b)
- return a*b
Traceback (most recent call last):
File "<stdin>", line 1, in ?
!TypeError?: unsupported operand type(s) for *: 'str' and 'str'
Scheme, Perl, Python, SmallTalk, bash(1) are all Dynamically Typed languages, it's quite common for scripting languages to be dynamically typed.