Y
Hacker News
new
|
ask
|
show
|
jobs
by
joshuacc
3922 days ago
As I understand it, the correct term for that is "structural typing." Duck typing is similar, but applies exclusively to dynamic languages. See:
https://en.wikipedia.org/wiki/Duck_typing#Structural_type_sy...