Sorry to say, but this article is a misleading piece of shallow knowledge. Python cares about types, carries info on types during runtime and performs type checking when executing statements. Python is a strong-typed language.
And this is not about interpreter versions. It has been built in such way from the very beginning.
Sure, I agree, I mean, you can't just do 1+"two" and hope no type inspection happens or that an error is not raised. But this happens only when executing the code. While with using the mypy, this would be checked statically and before the code is even executed. Which was the point I was trying to make.
Strongly typed doesn't mean necessarily statically typed.
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
Sorry to say, but this article is a misleading piece of shallow knowledge. Python cares about types, carries info on types during runtime and performs type checking when executing statements. Python is a strong-typed language.
And this is not about interpreter versions. It has been built in such way from the very beginning.
Sure, I agree, I mean, you can't just do 1+"two" and hope no type inspection happens or that an error is not raised. But this happens only when executing the code. While with using the mypy, this would be checked statically and before the code is even executed. Which was the point I was trying to make.
Strongly typed doesn't mean necessarily statically typed.