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

It's a rite of passage when your college teacher make you trip Java's dispatch.


What do you mean?


As one example, I had some humbling experiences with constructors calling overridden methods. The dispatched methods are faced with an incompletely initialized instance in this case.


You'd never expect such a language to have corner cases on method calling. Makes you realize that something mundane looking can have complex side-effects.


I've been tripped by my professors on it a few times.




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

Search: