Am I missing something with Python not having interfaces?

Larry Bates larry.bates at websafe.com`
Tue May 6 16:20:57 EDT 2008


jmDesktop wrote:
> Studying OOP and noticed that Python does not have Interfaces.  Is
> that correct?  Is my schooling for nought on these OOP concepts if I
> use Python.  Am I losing something if I don't use the "typical" oop
> constructs found in other languages (Java, C# come to mind.)  I'm
> afraid that if I never use them I'll lose them and when I need them
> for something beside Python, I'll be lost.  Thank you.

Zope has an implementation of interfaces that Zope 3 and Twisted both use if you 
want to take a look.

http://www.zope.org/Products/ZopeInterface

Frankly, I've never missed them.

-Larry




More information about the Python-list mailing list