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

In that particular organization there is an interface hierarchy that is distinct from its implementation hierarchy. And in the implementation hierarchy, they avoid overriding existing methods in favour of using abstract classes. This might be what you are suggesting.

The ultimate goal is to avoid using public inheritance to model WAS-A.



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

Search: