Re: preemptive OOP?
- From: Steve Holden <steve@xxxxxxxxxxxxx>
- Date: Thu, 28 Sep 2006 21:44:24 +0100
John Salerno wrote:
Steve Holden wrote:
However, if you want to simplify the code, you could start by saying
myNotebook = wx.Notebook
I don't understand. Is that just a name change in the code?
Let me put it this way: what doesn't it do that your code did?
You're right, it *is* just a name change in the code, but if you *do* later want to specialise the notebook behaviour you can replace the assignment with a class definition without changing any of your other code.
regards
Steve
--
Steve Holden +44 150 684 7255 +1 800 494 3119
Holden Web LLC/Ltd http://www.holdenweb.com
Skype: holdenweb http://holdenweb.blogspot.com
Recent Ramblings http://del.icio.us/steve.holden
.
- References:
- preemptive OOP?
- From: John Salerno
- Re: preemptive OOP?
- From: Erik Johnson
- Re: preemptive OOP?
- From: John Salerno
- Re: preemptive OOP?
- From: Steve Holden
- Re: preemptive OOP?
- From: John Salerno
- preemptive OOP?
- Prev by Date: Re: Questions on Using Python to Teach Data Structures and Algorithms
- Next by Date: Re: Survival of the fittest
- Previous by thread: Re: preemptive OOP?
- Next by thread: vector and particle effects
- Index(es):