2. Regarding the polymorphism problem discussed at the beginning of this project-2, it seems that RTTI was the only solution (weather using dynamic_cast or pimpl). But Jesse liberty said (i think day 12, or 14) that RTTI might be a sign of poor design and that one should consider using multiple inheritance instead. well, how would multiple inheritance help in this case? and if RTTI is a bad idea, what do they really do in real big programs out there?
Also, on day 12 in the book "you can't get there from here":
Quote:Although you can transform the Mammal pointer into a Dog pointer, there are usually far better and safer ways to call the WagTail() method. C++ frowns on explicit casts because they are error-prone. This subject will be addressed in depth when multiple inheritance is covered, and again when templates are covered on Day 20, "Exceptions and Error Handling."
where in multiple-inheritance and day-20 does the book deal with this?