Y
Hacker News
new
|
ask
|
show
|
jobs
by
kbp
2509 days ago
Why aren't statically typed programs really just dynamically typed programs where all the types happen to be statically inferable?
1 comments
grumpyprole
2509 days ago
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.
link