HN2new | past | comments | ask | show | jobs | submitlogin

Why aren't statically typed programs really just dynamically typed programs where all the types happen to be statically inferable?


Because most statically typed languages allow us to define our own types, add type signatures to constrain etc. Dependently typed languages also allow types to depend on values. Inference is useful, but only one aspect of static typing.




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

Search: