Re: Line endings

Magnus Lie Hetland <[email protected]> Mon, 18 Nov 2002 02:54:50 +0100
Newsgroups gmane.comp.python.anygui.devel
Message-ID <[email protected]>
Greg Ewing <[email protected]>:
>
> > I just tried my hand at making Application a Borg.
> 
> How are you going to handle subclassing of Application
> if it's a Borg?

Not sure, really. The only problem I see is overriding the methods
used behind the scenes -- currently that would only be add() and
remove(). If you don't want to override them, there is no problem. But
that may be problem enough, I guess -- especially if we want to use
more stuff behind the covers.

So perhaps we should just leave it the way it is, i.e. fully explicit.
The only problem I'm trying to solve is to allow people to create
Window objects before they create an Application object, and that can,
I guess, be solved by being even more explicit, i.e. by not letting
Windows doing anything to the application implicitly.

So, let's just leave the borgs alone for now :)

-- 
Magnus Lie Hetland        Practical Python          The Anygui Project
http://hetland.org        http://ppython.com        http://anygui.org


-------------------------------------------------------
This sf.net email is sponsored by: To learn the basics of securing 
your web site with SSL, click here to get a FREE TRIAL of a Thawte 
Server Certificate: http://www.gothawte.com/rd524.html