9 ms·
Duck typing is an aspect of it being dynamically typed, not whether it is strong/weak. But strong/weak is not formally defined, so if duck typing disqualifies i
by js2 2y ago
Duck typing is an aspect of it being dynamically typed, not whether it is strong/weak. But strong/weak is not formally defined, so if duck typing disqualifies it for you, so be it.
https://langdev.stackexchange.com/questions/3741/how-are-strong-and-weak-typing-defined https://langdev.stackexchange.com/questions/3741/how-are-str...
- cbsmith 2y agoI always think of Python as having "fairly strong" typing, because you can override the type of objects by just assigning to __class__.