Hacker News new | past | comments | ask | show | jobs | submit login

It’s common to have a list of objects with different types, but which implement the same interface. Duck typing of this kind is core to Python.



Good point.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: