>>Well, actually your interface does exist (if my object exposes the same set of methods as an instance of String, then it is a String),
This is what i am referring ,duck typing. >>The concept of an interface exists in all OO languages I've used, even when there was no keyword 'interface'. In my question , i meant 'Interface' as a keyword and functionality as in java and c# (statically typed languages). I think, the concept of interfaces exists in all languages ,for example in c you expose your functions in header files,i think it is also a kind of interface.
_______________________________________________ BangPypers mailing list BangPypers@python.org http://mail.python.org/mailman/listinfo/bangpypers