On Monday 14 May 2007 19:31, Ed Leafe wrote:
> On May 14, 2007, at 10:27 PM, johnf wrote:
> > It's not a problem to switch the order of the call.  But overall I
> > think you
> > are right - the programmer shouldn't have to worry about the order.
>
>       I disagree. You should certainly understand the importance of order
> in a class declaration when using multiple inheritance. In this case
> it happened to not be critical, but in many others it would be.
>
> -- Ed Leafe
> -- http://leafe.com
> -- http://dabodev.com
OK where might I read about the order?  In this case I call the dPanel before 
I called my class.  Since I was displaying the panel and the properties did 
not come into play until a the display was present it would appear I had the 
order correct.  When I google about the order I find
http://www.python.org/download/releases/2.3/mro/
which contains
"Moreover, unless you make strong use of multiple inheritance and you have 
non-trivial hierarchies, you don't need to understand the C3 algorithm, and 
you can easily skip this paper. On the other hand, if you really want to know 
how multiple inheritance works, then this paper is for you. The good news is 
that things are not as complicated as you might expect."

So which is it - not important or is important?  
-- 
John Fabiani


_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/dabo-dev
Searchable Archives: http://leafe.com/archives/search/dabo-dev
This message: http://leafe.com/archives/byMID/dabo-dev/[EMAIL PROTECTED]

Reply via email to