8 ms·
In some significant ways, it's not strong at all. It's stronger than Javascript but it's difficult not to be. Python is a duck typing language for the most part
by jstimpfle 2y ago
In some significant ways, it's not strong at all. It's stronger than Javascript but it's difficult not to be. Python is a duck typing language for the most part.
- htuyfjsdkfw 2y agoDuck typing doesn't exist. What you refer to as duck typing is the inherit nature of dynamic typing.
- js2 2y agoDuck 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__.