Re: classes and interfaces

2006-07-04 Thread Diez B. Roggisch
Rene Pijlman schrieb: > Bruno Desthuilliers: >> Java interfaces are a workaround > > Troll alert. No idea how you come to that conclusion - but he is actually right with that. Diez -- http://mail.python.org/mailman/listinfo/python-list

Re: classes and interfaces

2006-07-02 Thread Rene Pijlman
Bruno Desthuilliers: >Java interfaces are a workaround Troll alert. -- http://mail.python.org/mailman/listinfo/python-list

Re: classes and interfaces

2006-07-02 Thread Rene Pijlman
[EMAIL PROTECTED]: >In python , how to implement interface like the above? Interfaces are lacking in Python, but an even more generic proposal is on its way: http://www.artima.com/weblogs/viewpost.jsp?thread=155123 In the mean time, interfaces have already been implemented in Zope 3: http://www.

Re: classes and interfaces

2006-06-27 Thread Paul McGuire
"Paul McGuire" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > > Lastly, you should look into > ... this blog post: http://dirtsimple.org/2004/12/python-is-not-java.html, and its partner http://dirtsimple.org/2004/12/python-is-not-java.html. Unfortunately, many who ask "How do I im

Re: classes and interfaces

2006-06-27 Thread Paul McGuire
<[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > hi > i come from a non OO environment. now i am learning about classes. can > i ask, in JAva, there are things like interface. eg > public interface someinterface { >public somemethod (); > >... > } > > In python , how to

Re: classes and interfaces

2006-06-27 Thread Bruno Desthuilliers
[EMAIL PROTECTED] wrote: > hi > i come from a non OO environment. now i am learning about classes. can > i ask, in JAva, there are things like interface. eg > public interface someinterface { >public somemethod (); > >... > } > > In python , how to implement interface like the abov

classes and interfaces

2006-06-27 Thread s99999999s2003
hi i come from a non OO environment. now i am learning about classes. can i ask, in JAva, there are things like interface. eg public interface someinterface { public somemethod (); ... } In python , how to implement interface like the above? is it just define a class?? class someint