Hacker News new | ask | show | jobs
by anamexis 171 days ago
Structural typing like this is completely compatible with the concept of duck typing. Indeed, it's basically doing static checking of duck typing.