Overview
| Artifact ID: | 692ad3cf000c96ed3fba5d606fae4fa17d586a4e |
|---|---|
| Ticket: | 2952145fffffffffffffffffffffffffffffffff
Constructor call chain configuration |
| User & Date: | dkf on 2010-02-15 23:13:29 |
Changes
- icomment:
I hate these sorts of questions. The (hardline ontological-theoretic) answer is that if A and B are truly wholly independent classes, C has no business deriving from both of them. If they are not that separate, make both A and B derive from a common parent class and the problem goes away. If you wish to argue that I'm wrong, feel free. Demonstrate a specific example where it matters. Not a theoretical example either; while I know it is certainly possible to create code that will fail in the circumstances outlined, my whole point is that code that is going to be working sanely will not actually need to do so. Thus a combobox widget can be considered to be a subclass of entry, but not of listbox. (The listbox-ness is best held in another widget that is delegated to, with forwarded methods doing the delegation.)
- login: "dkf"
- mimetype: "text/plain"
- username: "dkf"