5 ms·
It's a rite of passage when your college teacher make you trip Java's dispatch.
by agumonkey 12y ago
It's a rite of passage when your college teacher make you trip Java's dispatch.
- oconnor0 12y agoWhat do you mean?
- user_name2 12y agoHe means go to college
- agumonkey 12y agoYou'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.
- chopin 12y agoAs 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.
- suyash 12y agoI've been tripped by my professors on it a few times.