Y
Hacker News
new
|
ask
|
show
|
jobs
by
dec0dedab0de
1896 days ago
but what if another developer wants to put a different object in that list, but it has the same methods and properties that I am expecting in Foo?
1 comments
mixmastamyk
1896 days ago
It supports duck typing with Protocol, I believe.
link