in reply to Re^5: Inheritance - calling parent constructor
in thread Inheritance - calling parent constructor
But you only know whether something is wrong if you actually peek in the code of the parent class
No, no peeking necessary. I have no idea what you're talking about.
At worst, it's redundant.
It's usually redundant, but it's not the worst case. At worse, the parent (and thus the child) malfunctions (obviously or subtly).
At best, it fixes something the parent does wrong.
At best, it's a workaround for a bug in the parent? If there's a bug in the parent, fix the parent. Don't use a workaround just in case you might need it.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^7: Inheritance - calling parent constructor
by JavaFan (Canon) on Dec 30, 2009 at 03:00 UTC | |
by ikegami (Patriarch) on Dec 30, 2009 at 12:48 UTC |