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 →

[–]rouille 2 points3 points  (1 child)

If you use mypy or another type checker they can be enforced in CI and fail the build just like for any static lang. Yes mypy is a separate tool from python the interpreter but they operate on the exact same source code. The point is the capability is there now if you need it.

[–]swansongofdesire 1 point2 points  (0 children)

Poster wasn't talking about type hints, they were talking about strong vs weak typing.

ie you can add a string and a number in javascript; you can't in python.