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

one problem that i have with inheritance, especially several layers deep is that it hides code from the developer and it makes it hard to get an idea of what is going on. A sequence of calls needs to be traced across several class definitions. Sometimes inheritance makes sense as an abstraction mechanism but i think it's often overused, especially in Java


Only a problem if you are browsing your project with notepad.




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

Search: