[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Class Issue`

On 3/5/19, Kevin Hu <hxy9243 at gmail.com> wrote:
> Python is a language with very weak typing, and it?ll happily shoehorn data
> into variables even when you don?t expect it to.

Python has strong typing, in that it doesn't implicitly coerce
unrelated types in expressions. However, it has no enforced static
typing of variables. It relies on runtime type checking and protocols.
The term "duck typing" was coined for this case.