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

Coming from C++ and C# I think interface inheritance is good. But code inheritance is bad. I always try to avoid it. The only times I need to use code inheritance is wen I have to use framework classes that have bug or broken behavior I have to repair. Eg: label control in c# copy its text to clipboard on double click in windows.form


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

Search: