19 Aug
2007
19 Aug
'07
9:08 p.m.
Jean-Paul Calderone
On Sun, 19 Aug 2007 16:37:01 -0400, David Bolen
wrote: [snip]
So, feel free to have at it. There are probably a few ways you could take control, but I were doing it, I'd probably take my Portal subclass and make it directly implement IPBRoot (thus avoiding the registered adapter _PortalRoot). (...)
I generally agree with the comments you've made here, except for this paragraph. Don't subclass Portal (ever, preferably ;). (...)
Hmm, not that I've actually ever needed to yet myself, but is there something specifically about Portal that prefers composition to subclassing, or is it just a general design preference? -- David