Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

IMHO you are conflating subtyping and subclassing.

The fact that something is a list carries an implicit knowledge that you can iterate it, even if the concepts of List and Iterable are just interfaces.



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

Search: