Re: python interfaces

2008-01-07 Thread Sion Arrowsmith
Bruno Desthuilliers <[EMAIL PROTECTED]> wrote: >Sion Arrowsmith a écrit : >(snip rant about Java's "interfaces") > >Hem... Zope3's "interface" system is not exactly the same thing as >Java's one. Yeah, I was in need of letting off some steam in general and didn't pay enough attention that what I

Re: python interfaces

2008-01-06 Thread r . grimm
On Jan 6, 11:01 am, Fredrik Lundh <[EMAIL PROTECTED]> wrote: > [EMAIL PROTECTED] 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 Pyt

Re: python interfaces

2008-01-06 Thread Bruno Desthuilliers
Sion Arrowsmith a écrit : > hyperboreean <[EMAIL PROTECTED]> wrote: > >>Why doesn't python provide interfaces trough its standard library? > > > Because they're pointless. (snip rant about Java's "interfaces") Hem... Zope3's "interface" system is not exactly the same thing as Java's one. --

Re: python interfaces

2008-01-06 Thread Carl Banks
On Sat, 05 Jan 2008 23:31:02 -0800, r.grimm wrote: > They force the user of a framework to use it in a defined way. This is the arrogance of the provider thinking that he can anticipate all the needs of the user. Even when interfaces exist, they should be there to guide the user rather than to

Re: python interfaces

2008-01-06 Thread Fredrik Lundh
[EMAIL PROTECTED] 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

Re: python interfaces

2008-01-05 Thread r . grimm
On Jan 4, 6:01 pm, Sion Arrowsmith <[EMAIL PROTECTED]> wrote: > hyperboreean <[EMAIL PROTECTED]> wrote: > >Why doesn't python provide interfaces trough its standard library? > > Because they're pointless. Java interfaces are a hack around the > complexities of multiple inheritence. Python does mul

Re: python interfaces

2008-01-05 Thread Peter Maas
Sion Arrowsmith wrote: > hyperboreean <[EMAIL PROTECTED]> wrote: >> Why doesn't python provide interfaces trough its standard library? > > Because they're pointless. Wrong. I'm using Eclipse with the Java Development Tools (JDT) who do a wonderful job using interfaces to perform lots of checking

Re: python interfaces

2008-01-05 Thread Peter Maas
Sion Arrowsmith wrote: > hyperboreean <[EMAIL PROTECTED]> wrote: >> Why doesn't python provide interfaces trough its standard library? > > Because they're pointless. Wrong. I'm using Eclipse with the Java Development Tools (JDT) who do a wonderful job using interfaces to perform lots of checking

Re: python interfaces

2008-01-04 Thread Sion Arrowsmith
hyperboreean <[EMAIL PROTECTED]> wrote: >Why doesn't python provide interfaces trough its standard library? Because they're pointless. Java interfaces are a hack around the complexities of multiple inheritence. Python does multiple inheritence Just Fine (give or take the subtleties of super()) so

Re: python interfaces

2008-01-04 Thread Michele Simionato
On Jan 4, 3:59 pm, hyperboreean <[EMAIL PROTECTED]> wrote: > Hi, > Probably it has been asked before, but I'll still ask. > Why doesn't python provide interfaces trough its standard library? Or it > was ever proposed to be included in the language? > Zope's implementation seems pretty flexible and

python interfaces

2008-01-04 Thread hyperboreean
Hi, Probably it has been asked before, but I'll still ask. Why doesn't python provide interfaces trough its standard library? Or it was ever proposed to be included in the language? Zope's implementation seems pretty flexible and straightforward. Thanks. -- http://mail.python.org/mailman/listin