|
|
|
|
|
by redmorphium
2330 days ago
|
|
From your second link: https://en.wikipedia.org/wiki/Duck_typing#Structural_type_sy... > Duck typing is similar to, but distinct from structural typing. Structural typing is a static typing system that determines type compatibility and equivalence by a type's structure, whereas duck typing is dynamic and determines type compatibility by only that part of a type's structure that is accessed during run time. |
|