python interfaces

Fredrik Lundh fredrik at
Sun Jan 6 11:01:11 CET 2008

r.grimm at wrote:

> Interfaces are a extremly smart Design Principle in static typed
> languages like Java and C++.

that's somewhat questionable in itself, and even more questionable as an 
argument for interfaces in Python.

I'd recommend anyone who thinks that they cannot program without formal 
interfaces to try using Python as Python for a while, before they try 
using it as something else.  you might be surprised over how easy it is 
to build robust stuff without having to add lots of extra constraints to 
your code.


More information about the Python-list mailing list