Re: [Tutor] Placing entire Application inside a class

2007-12-19 Thread Kent Johnson
Jim Morcombe wrote: > I have just read through "Creating a GUI in Python - by Dakota Lemaster" > > In it, Dakota recomends placing the entire application within a class. > > Why is this so? Surely in many cases you end up with a constructor for > the class that is cumbersome and complex? Man

Re: [Tutor] Placing entire Application inside a class

2007-12-19 Thread Alan Gauld
"Jim Morcombe" <[EMAIL PROTECTED]> wrote > In it, Dakota recomends placing the entire application within a > class. > Why is this so? Surely in many cases you end up with a constructor > for the class that is cumbersome and complex? This is a very common OOP technique, especially in languages w

Re: [Tutor] Placing entire Application inside a class

2007-12-18 Thread Tiger12506
like, just as long as it doesn't get messy. - Original Message - From: "Jim Morcombe" <[EMAIL PROTECTED]> To: "python tutor mailing list" Sent: Tuesday, December 18, 2007 8:54 PM Subject: [Tutor] Placing entire Application inside a class I have just re

[Tutor] Placing entire Application inside a class

2007-12-18 Thread Jim Morcombe
I have just read through "Creating a GUI in Python - by Dakota Lemaster" In it, Dakota recomends placing the entire application within a class. Why is this so? Surely in many cases you end up with a constructor for the class that is cumbersome and complex? Is this a recomended Python programmi