>>Yup, I was thinking more in terms of the Java idea, whereby an
>>interface is declared specifically and then a class claiming
>>to implement it causes compilation problems if it doesn't
>>properly implement it.
I guessed as much but that is an idea dreamt up by
Microsoft for COM and picked up
Kent Johnson wrote:
>Alex Hunsley wrote:
>
>
>>Oh yes, I'd always reply to the list in the very least; I was really
>>just wondering what the etiquette was concerning emails also going back
>>to the person you're reply to directly (as well as to the list). I ask
>>because the list is set up s
Alex Hunsley wrote:
> Oh yes, I'd always reply to the list in the very least; I was really
> just wondering what the etiquette was concerning emails also going back
> to the person you're reply to directly (as well as to the list). I ask
> because the list is set up so that it appears replies ar
Kent Johnson wrote:
>Alex Hunsley wrote:
>
>
>>Alan Gauld wrote:
>>
>>
>>
>>
Interfaces and abstract classes - I know they don't exist per se in
Python.
>>>First you need to define what you mean by the terms.
>>>Every class has an interface - it is the set of mess
Alex Hunsley wrote:
> Alan Gauld wrote:
>
>
>>>Interfaces and abstract classes - I know they don't exist per se in
>>>Python.
>>
>>
>>First you need to define what you mean by the terms.
>>Every class has an interface - it is the set of messages to which it
>>responds.
>
>
> Yup, I was think
Kent Johnson wrote:
>Alex Hunsley wrote:
>
>
>>Interfaces and abstract classes - I know they don't exist per se in
>>Python. But what are the closest analogues? I've found a few examples,
>>e.g. for an abstract class the following page has a fairly common
>>suggestion:
>>
>>http://www.norvig.
Alan Gauld wrote:
>> Interfaces and abstract classes - I know they don't exist per se in
>> Python.
>
>
> First you need to define what you mean by the terms.
> Every class has an interface - it is the set of messages to which it
> responds.
Yup, I was thinking more in terms of the Java idea,
Alex Hunsley wrote:
> Interfaces and abstract classes - I know they don't exist per se in
> Python. But what are the closest analogues? I've found a few examples,
> e.g. for an abstract class the following page has a fairly common
> suggestion:
>
> http://www.norvig.com/python-iaq.html
Interfa
> Interfaces and abstract classes - I know they don't exist per se in
> Python.
First you need to define what you mean by the terms.
Every class has an interface - it is the set of messages to which
it responds.
An Abstract class is one which is not intended to be instantiated.
class Abstract
Interfaces and abstract classes - I know they don't exist per se in
Python. But what are the closest analogues? I've found a few examples,
e.g. for an abstract class the following page has a fairly common
suggestion:
http://www.norvig.com/python-iaq.html
thanks!
alex
_
10 matches
Mail list logo