On Fri, Oct 31, 2008 at 3:29 PM, Edward K. Ream <[EMAIL PROTECTED]> wrote:

> I would like to add the capabilities of an interface mechanism.
> Something like this was discussed on the IPython list recently.  The
> following describes my present thinking.  Feel free to ignore the
> rest, it's just thinking out loud...

I'm not conviced it's a good idea when there are so few concrete
implementation of the concrete classes. IMHO, abstract base classes
are handy when the end users will be creating the concrete classes,
otherwise it drifts dangerously to the area of over-engineering
without real benefits to code quality.

On a related note, you may be interested in python2.6 abc module:

http://docs.python.org/dev/whatsnew/2.6.html#pep-3119-abstract-base-classes

-- 
Ville M. Vainio
http://tinyurl.com/vainio

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"leo-editor" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/leo-editor?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to