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

Virtual or not isn't about performance, it is about system architecture. Virtual is structurally about implementation. Exactly to the degree that the public interface matches the inheritance interface, the abstraction is a failure.

At least, if you are being object-oriented, which Java tries to force on you. Of course, you are free to violate that expectation, and sometimes must since Java offers no other means of organization; so if you do, more power to you.



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

Search: