Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Meh. you can do the same thing in Python if you really want - there are dynamic interpreter shims that can do this.

The point is that it is not expected by definition, since by definition, static != runtime.



You're assuming that type hints are by definition static-only. There's no particular reason why type hints can't be both statically and dynamically enforceable, as they are in PHP.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: