Re: [GD-General] Overhead of RTTI
Brought to you by:
vexxed72
From: Noel L. <ll...@co...> - 2002-12-24 14:04:15
|
On Tue, 24 Dec 2002 05:54:49 -0800 "Grills, Jeff" <jg...@so...> wrote: > And, as a general rule, multiple inheritance is evil and should be avoided. Whoa! Talk about an overblown general statement! I would say that multiple inheritance definitely has its place, in particular inheritance of abstract interfaces. > In fact, we've recently put a rule in place where any use of multiple > inheritance requires a lead programmer's permission before submitting to > source control. Do you have similar rules about using templates? What about classes that exceed 1000 lines of code? Both of those situations seem more potentially dangerous to me than using multiple inheritance. Just curious. Of course, on the other hand, in a large team it might be a good idea if before checking in any new classes or adding any new dependencies between classes a lead programmer approves it first, but that's a separate discussion. --Noel ll...@co... |