scrambled
Concept

Structural typing

Modified just now
Books JourneyProgramming Language Theory Statusmastered Tags
  • language-feature-design
  • semantics
  • type theory

A type system where Type compatibility is determined by structure, not name - any value with matching shape satisfies the type, regardless of declared class or origin.

A type system where Type compatibility is determined by structure, not name - any value with matching shape satisfies the type, regardless of declared class or origin.