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

The annotations are a language syntax feature than the runtime doesn't enforce. There are a number of separate static typecheckers, such as mypy, that do allow AOT static verification (which is, after all, all languages like Haskell have; runtime enforcement of types that have been statically verified in advance isn't super common or necessary.)


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

Search: