Nominal and Structural typing
Posted on
Nominal type system
- Two functions with the same structure but different names are not equivalent.
Structural type system
- As long as two functions have the same structure, they are isomorphic or structurally equivalent. Their names are not considered.
Tags: programming