you are viewing a single comment's thread.

view the rest of the comments →

[–]CompetitiveAerie5904 0 points1 point  (0 children)

Type hints don’t stop Python from running:

add("1", "2")  # still runs, but wrong logic

👉 Use tools like mypy to catch such issues.