Skip to content
scrambled
Programming Language Theory Flashcard

What are nominal typing and structural typing?

Question

What are nominal typing and structural typing?

Answer

Nominal typing is a policy that determines type compatibility based on user-provided declarations.

Structural typing is a policy that determines type compatibility based on their structures.