[Python-Dev] PEP 246: lossless and stateless
Glyph Lefkowitz
glyph at divmod.com
Sat Jan 15 07:45:05 CET 2005
More information about the Python-Dev mailing list
Sat Jan 15 07:45:05 CET 2005
- Previous message: [Python-Dev] PEP 246: lossless and stateless
- Next message: [Python-Dev] PEP 246: lossless and stateless
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
On Fri, 2005-01-14 at 19:14 -0500, Bob Ippolito wrote: > I think the idea is that it's "better" to have an adapter from > IBusinessThunk -> IGtkUIPlugFactory, which you can use to *create* a > stateful object that complies with the IGtkUIPlug interface. > > This way, you are explicitly creating something entirely new (derived > from something else) with its own lifecycle and state and it should be > managed accordingly. This is clearly not simply putting a shell around > an IBusinessThunk that says "act like this right now". Yes. This is exactly what I meant to say. Maybe there are 2 entirely different use-cases for adaptation, and we shouldn't be trying to confuse the two, or conflate them into one system? I am going to go have a look at PEAK next, to see why there are so many stateless adapters there.
- Previous message: [Python-Dev] PEP 246: lossless and stateless
- Next message: [Python-Dev] PEP 246: lossless and stateless
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Python-Dev mailing list