Structural Typing vs. Nominal Typing: TypeScript and Java Compared
Same interface, two unrelated types, two completely different rules about what counts as a match. Imagine an interface called Movable, with nothing more exotic than an x coordinate...