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
Bruno Desthuilliers:
>Java interfaces are a workaround
Troll alert.
--
http://mail.python.org/mailman/listinfo/python-list
[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.
"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
<[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
[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
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