r/ProgrammerHumor • • Aug 26 '20

Python goes brrrr

Post image
59.2k Upvotes

789 comments sorted by

View all comments

Show parent comments

0

u/[deleted] Aug 26 '20

[deleted]

-6

u/_PM_ME_PANGOLINS_ Aug 26 '20 edited Aug 26 '20

No, Python does not have strong typing, at all.

It has type hints, but they’re not enforced.

Edit: apparently there is no agreed definition for what “strong” or “weak” typing is, so this conversation is pointless.

https://en.m.wikipedia.org/wiki/Strong_and_weak_typing

11

u/Pluckerpluck Aug 26 '20

Python is strongly typed. That means types won't automatically coerce when you try to use them in weird situations. They require explicit conversion.

You are refering to the difference between dynamic and static typing.

1

u/[deleted] Aug 26 '20

So, JS is the (almost, idk) only weakly typed language?

→ More replies (1)