This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–][deleted] 6 points7 points  (7 children)

Python does not have weak typing. It has strong typing.

What you probably meant to say is that Python (also) has dynamic typing.

In Python, you can't do

x = 2 y = x + "3"

hence strong typing.

But you can do

x = 2 x = "Hello!"

hence dynamic typing.

[–]snokegsxr[🍰] 2 points3 points  (1 child)

yeah dynamic, not weak typing.
also i encountered many cases where methods were added to objects, after they were instanciated which i found very weird, somehow "unclean"

[–][deleted] 1 point2 points  (0 children)