logoalt Hacker News

nephanthlast Sunday at 6:57 PM1 replyview on HN

Python has static typechecking which, while not perfect, works pretty well as long as you're not actually trying to circumvent it (or manipulating things "too dynamically")


Replies

erulast Monday at 1:51 AM

I think Python actually has multiple, different static typechecking systems, depending on which checker you use.

Python itself only gives you type annotations, but doesn't specify what they are supposed to mean.

(I think. Please correct me if I am wrong.)

show 1 reply