4 ms·
Is "nominal typing" the same as structural or duck typing?
by ttymck 4y ago
Is "nominal typing" the same as structural or duck typing?
- jcparkyn 4y agoNo, they presumably meant to write "structural" because nominal is the opposite.
- klysm 4y agoNominal typing means that two types are different if they have the same structure but a different name. Structural typing is the case where they are considered the same type if they have the same structure.
- deleted 4y ago[deleted]