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

> The article mentions the strategy pattern which, ironically, often requires inheritance to implement.

Not really. It only requires interface inheritance for statically-typed languages, which is not really inheritance, and no inheritance at all for duck-typed languages.



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

Search: