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

My little rule of thumb is to inherit if the new implementation is a 'pure' over the inherited class. That is, I'm not introducing any _new_ changes to the state of the class.



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

Search: